210 likes | 315 Vues
Vanguard Administrator. Little Known Features (by me). Contents. Data Set Reports Roll Your Own Vanguard Batch Multiple Reports Quick Gen VMail <email> CSV Subject EMAILATTACHNAME. Data Set Report. Access Permission Option 4 (Access Lists) only
E N D
Vanguard Administrator Little Known Features(by me)
Contents • Data Set Reports • Roll Your Own Vanguard Batch • Multiple Reports • Quick Gen VMail • <email> • CSV • Subject • EMAILATTACHNAME
Data Set Report • Access Permission • Option 4 (Access Lists) only • Look for anybody who has above READ access • Best useful in batch • User/Group Access • Option 3 or 4 (Access Lists) only • Look for userids on access lists • SECLABEL / Level (recommended by Bob Hansen) • Display ‘special’ datasets • Use of Level to designate ‘special’ dataset profile • APF
Extended Access List Reports • Option 7 of Data Set Reports • Just like Option 4 but enters Quickgen automatically
RYO Batch • Batch/On-line: B • Generates Batch JCL • Specify B Browse • Split screen and edit file for Vanguard jobs • Edit new member and copy Vanguard JCL • Quick Gen statements also found in VSQGSVxx DD statement (ISRDDN)
Multiple Reports • Roll-Your-Own Batch • PRNT file – Pre-defined Dataset • DISP=MOD • Add additional report statements to SYSIN DD statement
Multiple Reports - Example • //SYSIN DD *REPORT(CICS SEGMENT OPERID(150)REPORT(END)REPORT(CICS SEGMENT)OPERID(392)REPORT(END)
VMAIL • Option to e-mail report directly to end user • SMTP • Update EMAILOPT member in VANOPTS – JES2 node but default probably okay • Update EMAILLST – One or more e-mail addresses • Example • DISTLIST=Jeff • jeffrey_benson@glic.com
QuickGen E-Mail / CSV Example • //VSSQGIN DD * • <EMAIL VMAIL=YES FORMAT=TXT> • <SUBJECT>Important Report • </EMAIL> • <CSV> • &USERID;&USERNAME;&LOGPROC • </CSV>
VMAIL Example • //VMAIL DD * • TO(- • Jeff- • ) • SUBJECT(TSO SUMMARY) • FROM(HAPTJCB@BETH) • : • : • EMAILATTACHNAME(TSO.SUMMARY)
VMAIL Example • This example will produce 2 e-mails • One is the report in Vanguard standard format report. • One is the report in CSV format. • Both show FROM parameter as sender • Both File Names from //VMAIL EMAILATTACHNAME () • Standard Report Subject from //SYSIN REPORT() • CSV Report Subject from <email> <subject>
Alternate E-MAIL CSV Example • //VSSQGIN DD * • <email vmail=no format=txt> • <to> • jeffrey_benson@glic.com • </to> • <subject>Important Report • <text> • TSO Summary Report CSV • </text> • </email> • <csv> • &USERID;&USERNAME;&LOGPROC • </csv>
Alternate E-Mail Example • Same are previous except attachment name • QuickGen.txt • Currently no way to change
Related Maintenance • VS48197 (Q110) • Administrator's User Guide was updated to document the usage of the 'vmail' parameter in the QuickGen Tag Language section in Appendix A. The 'vmail' parameter will allow the QuickGen email To, From and Subject values to be obtained from the standard VMAIL parameters specified for the job. Note:this only applies to batch QuickGen processing.
More Maintenance • VS48200 (Q110) • Administrator User Guide has been updated to include the new batch Dataset report, DATASET ACCESS QUICKGEN REPORTS, which provide ad hoc and custom reporting capabilities via QuickGen Custom report feature.