z/OS MVS Planning: APPC/MVS Management
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Specific Scheduler JCL Information for TP Profiles

z/OS MVS Planning: APPC/MVS Management
SA23-1388-00

The JCL used in the scheduler section of a TP profile is a subset of all JCL statements. Two statements are required:
JOB statement
The JOB statement (the first JCL statement) gives the program designer a place to specify limits for the TP (like maximum PAGES, LINES, BYTES and CARDS). For retrievability and debugging, use a unique jobname for each TP. If resources the TP uses will be billed to an account, specify an account number.
EXEC statement
The EXEC statement names the program that will invoke the TP. If your installation is running JES2 Version 4.1 or later or JES3 Version 4.2.1 or later, you can add error control within the EXEC statement by an IF statement similar to the following:
  //MAINTRAN EXEC PGM=APPCTRAN
  //         IF (MAINTTRAN.RC > 8 OR ABEND=TRUE) THEN
  //ERROR    EXEC PGM=NOTIFY
  /* Inform somebody about the error
  //PRNTLOG  EXEC PGM=ATBWTL
  /* Print information to a log if error occurred
  //MSGLOG   DD   SYSOUT=A,DEST=(NODE5.FRED)
  /* Route output to a specific user
  //         ENDIF

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014