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


Examples of the //*MAIN statement

z/OS MVS JCL Reference
SA23-1385-00

Example 1
//*MAIN SYSTEM=SY1,LINES=(5,C),SETUP=HWS,
//*FAILURE=RESTART,DEADLINE=(0800,A,3,WEEKLY)

The job executes on processor SY1. It is estimated to produce not more than 5000 lines of printed output; if the output exceeds 5000 lines, JES3 is to cancel the job. HWS specifies high watermark setup, so JES3 is to allocate the minimum number of devices required for this job. If the system fails, JES3 is to restart the job on the processor SY1. JES3 is to complete this job by 8 a.m. on Tuesday (Tuesday is day number 3) by adjusting the job’s scheduling priority using the installation-defined A-type deadline scheduling parameters.

Example 2
//*MAIN ACMAIN=2,USER=GARYHIL

If this statement appears in a job entered from any TSO/E userid on any processor in the complex, then the job’s sysout data sets would go to TSO/E userid GARYHIL on processor 2.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014