JOB Models |
It's convenient to have job models to be able to create jobs on the fly without recollecting each time which libraries should support which jobs. Two job models presented below cover two basic cases: PGMR (programmer tool) and USER (client development) setups. Job models for other tasks can be easily prototyped after those two models. &SYSUID..PGMR.JOB(JOB) job model is used to create job that will get its cataloged procedures from &SYSUID..PGMR.PROC library and load its programs from &SYSUID..PGMR.LOAD library. |
//DEVVLADP JOB CLASS=D,MSGCLASS=H,NOTIFY=&SYSUID TYPRUN=SCAN //JOBLIB DD DSN=&SYSUID..PGMR.LOAD,DISP=SHR //PROC JCLLIB ORDER=&SYSUID..PGMR.PROC //* // EXEC //
&SYSUID..USER.JOB(JOB) job model is used to create job that will get its cataloged procedures from &SYSUID..USER.PROC and &SYSUID..PGMR.PROC libraries (in this order). Programs will be loaded from &SYSUID..USER.LOAD and &SYSUID..PGMR.LOAD (in this order). |
//DEVVLADU JOB CLASS=D,MSGCLASS=H,NOTIFY=&SYSUID TYPRUN=SCAN //JOBLIB DD DSN=&SYSUID..USER.LOAD,DISP=SHR // DD DSN=&SYSUID..PGMR.LOAD,DISP=SHR //PROC JCLLIB ORDER=(&SYSUID..USER.PROC,&SYSUID..PGMR.PROC) //* // EXEC //
Notes:
|
View [and save] JOB-PGMR.JCL | JOB-USER.JCL text (Use [Back] button or [Alt]+[CL] to return here from the viewed text) Go to: Davar site entry | Site contents | Site index | Mainframe | JCL | Text top |