How to print a report or dataset from JCL to a local printer? What are the parameters to be passed in Output JCL Statement? Also, what are all the ways in which we can specify the DEST parameter? Thanks in advance for any help in this regard.
Joined: 22 Apr 2006 Posts: 6258 Location: Mumbai, India
Dick suggested the best option, still would like to provide the below JCL. JCL will initiate a printer with DEST=XXXX (see the last parameter of DD name OUTFILE ). You should be very careful about DEST parameter, a wrong parameter can initiate a production or another location printer, which may cause problems & yeah this JCL will work only if you use are using AFP for printing reports.
You need to know FORMDEF, PAGEDEF & DESTination of printer from support or operation people.
If you would like to try Hard Copy print, then in ISPF go to START 3.4/Utilities/6, there provide the
data-set name to be printed
PRINT MODE: Batch,
SYSOUT class:site specific,
writer-name:Printer-Name(same as DEST in above JCL)
Please be careful about the destination parameter in both the methods.