Previous Topic: z/OS PL/I Sample JCLNext Topic: Sample Assembler JCL


z/VSE PL/I Sample JCL

In this example, both the source and the SQL INCLUDEs are being read from libraries. The desired source is specified by the SMBR= Preprocessor option. A library location is required when specifying SMBR=. In addition, the file type is specified by using the ITYP= Preprocessor option. For more information, see Description of Options.

Note: Use the following as a guide to prepare your JCL. The JCL statements are for example only. Lowercase letters in a statement indicate a value you must supply. Code all statements to your site and installation standards.

 * $$ JOB ...           See the note above and Listing Libraries for CA Datacom Products.
 * $$ LST ...
 * $$ PUN ...
 // JOB name
 // DLBL CAC,'name.c.runtime'
 // EXTENT ,DDSRN3
 // DLBL INCLUDE,'name.sql.includes',99/365
 // EXTENT ,volser...
 // DLBL SOURCE,'name.pli.source',99/365
 // EXTENT ,volser...
 // DLBL DATACOM,'name.datacom.db'
 // EXTENT ,volser...
 // LIBDEF *,SEARCH=(DATACOM.LINK2480,CAC.CORE,                         X
                SOURCE.PROD,INCLUDE.PLISQL )
 // DLBL OPTIONS,'name.precomp.pli.options',0,SD
 // EXTENT SYSnnn,volser...
 // DLBL REPORT,'name.precomp.pli.report',0,SD
 // EXTENT SYSnnn,volser...
 // DLBL SRCOUT,'name.precomp.pliout',0,SD
 // EXTENT SYSnnn,volser...
 // ASSGN SYSnnn,DISK,VOL=volser,SHR
 // ASSGN SYSnnn,DISK,VOL=volser,SHR
 // EXEC PGM=DBPLIPR,SIZE=500K,PARM='SMBR=PL1SRC4.P ITYP=S'
 /*
 /&
 * $$ EOJ