JOBLIB – To specify the location of load
modules of the programs using in the complete job.
Syntax:
//JOBLIB
DD DSN=load-lib-name, DISP=SHR
STEPLIB – To specify the location of load
module of a program executing by a particular step.
Syntax:
//STEPLIB
DD DSN=load-lib-name,DISP=SHR
JCLLIB – To specify the location
of proc library and include jcl statements library.
Syntax:
//MYLIB1
JCLLIB ORDER=(proc-lib-name,include-jcl-group-lib-name)
In
proc
//INCL INCLUDE MEMBER=samplinc
Where
samplinc is a member of include-jcl-group-lib-name
PROCLIB – To specify the location
of cataloged procs
Syntax:
//PROCLIB JCLLIB ORDER=proc-lib-name
Points to remember:
Points to remember:
- An INCLUDE statement is used to identify the member of a PDS that contains set of JCL statements ( which has DD and ouput jcl statements) called as INCLUDE group.
- An INCLUDE statement can appear anywhere after the JOB statement with one exception. If there is a JCLLIB statement, then INCLUDE statement should follow the JCLLIB statement.
- INCLUDE group should not contain JCL statements like JOB statements, PROC and PEND statements,JCLLIB statements, JES2 and JES3 statements and commands, DD * and DD DATA statements.
No comments:
Post a Comment