The JOBCARD CSECT supplies text for the default JOB statement provided by CA JCLCheck (used when the input stream does not begin with a JOB statement). The JOBCARD CSECT provides JOB statements for CA JCLCheck to use in the event that the input file does not have one. This can occur when input comes from a PROCLIB or if you use the EDCHEK interface while editing a JCL file without a JOB statement.
The CSECT consists of the following set of macros:
JOBCARD TITLE 'JCLCheck DEFAULT JOB CARD CSECT '
EJECT
JOBCARD CSECT
$DJOBINI *** DO NOT REMOVE THIS LINE ***
$DJOBGEN '//UNKNOWN JOB (UNKNOWN) , UNKNOWN *** JOB STATEMENT SUPPLIED *** '
*** INCLUDE JOB STATEMENTS DEFINITION HERE ***
$DJTBGEN *** DO NOT REMOVE THIS LINE ***
Macros $DJOBINI and $DJTBGEN are required at the beginning and at the end. It is important you do not move or remove the macros.
$DJOBGEN is a macro that generates a default JOB statement, or it can generate multiple JOB statements. You can change the JOB statements generated by $DJOBGEN. Additionally, the macro can generate more than one line of the JOB statement; each line is coded as one parameter of the macro. For example:
$DJOBGEN '//MYJOB JOB (ACCOUNT) , PROGRAMMER, + ',
'// USER=MYUSER, ',
'// MSGCLASS=A '
Use the JOBCARD(nn) option to determine the JOB statement to use when multiple JOB statements are generated. For information about the JOBCARD(nn) option, see the Command Reference Guide.
Note: You must link this CSECT into CA JCLCheck. The JOB statement must be syntactically valid; otherwise, CA JCLCheck loops.
|
Copyright © 2014 CA.
All rights reserved.
|
|