z/OS MVS JCL Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Examples of the //*FORMAT PR statement

z/OS MVS JCL Reference
SA23-1385-00

Example 1
//*FORMAT PR,DDNAME=STEP1.REPORT,COPIES=2

This statement requests two copies of the data set defined by sysout DD statement REPORT, which appears in STEP1 of this job. Any printer with standard forms, train, and carriage tape can be used.

Example 2
//*FORMAT PR,DDNAME=,DEST=ANYLOCAL

This statement specifies that all sysout data sets not referenced by //*FORMAT PR statements are to be printed on any local printer.

Example 3
//*FORMAT PR,DDNAME=STEP1.REPORT,DEST=A
//*FORMAT PR,DDNAME=REPORT,DEST=B

This statement requests one copy of the data set defined by sysout DD statement REPORT, which appears in STEP1 of this job, to be sent to destination A and one copy of the data set defined by sysout DD statement REPORT to be sent to destination B. The REPORT data set for STEP1 is sent to destination A because the //*FORMAT PR statement with more qualifiers for the same ddname overrides the other. The REPORT data set for any other step is sent to destination B.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014