===================================================== Real JCL from Revenue Canada - JES JCL Listing Output ===================================================== -Ian! D. Allen - idallen@idallen.ca - www.idallen.com This is the JCL listing produced by JES when it combines the input JCL with the JCL fetched from the BCOB procedure. This listing is produced by JES when it runs the job, and it prints on the default printer unless you code MSGCLASS to send it to some other printer or sysout queue. The actual JCL statements that you submitted to JES are listed with real slashes (e.g. "//") at the start. JCL from the BCOB procedure is listed with "XX" at the start. In cases where the input JCL over-rides (replaces) a line from the BCOB procedure, the line from the procedure is preceded by the over-riding line and it starts with "X/", as in: 44 //COBOL.SYSIN DD * X/SYSIN DD DSN=&&COBOLS,DISP=(OLD,DELETE) The line starting with slashes is the JCL statement in the file you submitted. It shows that you asked to over-ride (replace) with the input JCL the DD statement for the DDname SYSIN in the BCOB procedure's internal step named COBOL. (Look for this step in the procedure listing!) Your input JCL line is listed first, and is followed by the matching line from the COBOL step of the BCOB procedure. The "X/" in front of the procedure's line indicates that this line from the procedure has been replaced by your line. In addition to over-riding DDnames in the procedure, the JES processor will perform variable substitutions in the JCL as it is copied. Variable names (IBM calls them "parameters") start with "&" in JCL. For example: 9 XXSYSUT1 DD DSN=&SYSIN(&XDIGE),DISP=SHR IEFC653I SUBSTITUTION JCL - DSN=DATA.SOURCE(IEFBR14C),DISP=SHR This IEFC653I message (all IBM messages have numbers like this) follows a line in the BCOB procecure that has had some substitutions applied. The IEFC653I message shows the line after the substitutions for the two parameters have been applied. Example provided by Kevin Solomon. ----------------------------------------------------------------------------- [*** examples removed at Kevin's request - February 5, 2010 -IAN! ***]