book
Article ID: 130992
calendar_today
Updated On:
Issue/Introduction
Is there generic batch JCL that can be used to print a report from CA View?
Resolution
Batch printing is done for CA View using the SARBCH program.
/BPRINT, /EPRINT, /PRINT, and /PRINTIDX can be used to do batch printing.
Here is sample SARBCH JCL, to do a report print:
//XXXXXXXX JOB ...
//SARBCH01 EXEC PGM=SARBCH,PARM='view_hlq' <=== Modify DB name
//STEPLIB DD DISP=SHR,DSN=VIEW.CVDELOAD <=== Modify, if used
//SYSPRINT DD SYSOUT=*
//REPORT DD SYSOUT=*
//SYSIN DD *
/PRINT ID=xxxxxxxxxxxx GEN=99999 SEQ=99999 ...
/*
//
Please consult the CA View Reference Guide, appropriate to your release level, for further information on the SARBCH program and its many functions.