Use the JOBLIB DD statement to:
A private library is a partitioned data set or
partitioned data set extended on a direct access device. Each member is an
executable, user-written program.
//PAYROLL JOB JONES,CLASS=C
//JOBLIB DD DSNAME=PRIVATE.LIB4,DISP=(OLD,PASS)
//STEP1 EXEC PGM=SCAN
//STEP2 EXEC PGM=UPDATE
//DD1 DD DSNAME=*.JOBLIB,DISP=(OLD,PASS)
The private library requested on the JOBLIB DD statement is cataloged. The system passes catalog information to subsequent job steps. The system searches for the programs SCAN and UPDATE first in PRIVATE.LIB4, then in SYS1.LINKLIB. DD statement DD1 refers to the private library requested in theJOBLIB DD statement.
Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!