Professional Documents
Culture Documents
http://www.mainframegurukul.com/srcsinc/drona/programming/languages/...
1 of 4
06-Mar-13 9:25 AM
http://www.mainframegurukul.com/srcsinc/drona/programming/languages/...
1. CLASS - Some jobs can be short running, some jobs may take more time other may use havy resources. CLASS keyword parameter is used to tell to OS about the nature of job we are submitting. Syntax Valid values -> -> CLASS=jobclass Any alpha betical character between A - Z numbers between 0 - 9 //MYJOB JOB (3345Y),'KRISHNA REDDY',CLASS=K or
Example JCL
->
2. PRTY
- It is related to CLASS parameter. It assigns priority to jobs which belong to the same class. Higher number takes precedence over the job with lower number. A job with priority of 12 will run before a job with priority 5. -> -> -> PRTY=priority Any value between 0 to 15 //MYJOB JOB (345Y),'KRISHNA REDDY',CLASS=8,PRTY=6
3. MSGCLASS - The MSGCLASS parameter determines the output device to which system messages and JCL messages are written Syntax Valid values -> -> MSGCLASS=output-class-name Any alpha betical character between A - Z number between 0 - 9 or
Example JCL
->
2 of 4
06-Mar-13 9:25 AM
http://www.mainframegurukul.com/srcsinc/drona/programming/languages/...
4. MSGLEVEL - is used to tell JCL, which messages to be printed in the device specified in MSGCLASS parameter Syntax Valid values -> -> MSGLEVEL=(statements,messages) Statements may be the number 0,1,2 and messages can be 0 or 1 STATEMENT 0 - Related to job statements only printed 1 - jcl will be printed (which includes all cataloged/symbolic parameters) 2 - only the input jcl statements being printed MESSAGES 0 - Allocation/termination messages will be printed If job terminates abnormally 1 - Allocation/termination messages will be printed regardless of whether the job terminates normally or abnormally. Example JCL -> //MYJOB JOB (3456Y),'SR',CLASS=8,MSGCLASS=S,MSGLEVEL=(1,1)
5. TYPRUN - The TYPRUN parameter is used to specify whether job is to be held until further notice or for syntax checking Syntax -> TYPRUN=HOLD - Job held until further notice or TYPRUN=SCAN - Check Jcl for syntax checking
Example JCL
->
6. NOTIFY - The NOTIFY parameter is used to direct the system, where it has to send the success/failure message after completing the job. Syntax -> NOTIFY=userid/&SYSUID
EXAMPLE JCL
->
//MYJOB JOB (3456Y),'KRISHNA REDDY',CLASS=8,NOTIFY=&SYSUID &SYSUID - the userid from which user it has been submited //MYJOB JOB (34W5),'KRISHNA REDDY',CLASS=8,NOTIFY=ERT54 It send the sucess/failture message to ERT54 userid
3 of 4
06-Mar-13 9:25 AM
http://www.mainframegurukul.com/srcsinc/drona/programming/languages/...
Home | Donations | Online Tutorials | Books | Entertainment | Contactme | privacy | sql tutorial | jcl interview questions | JCL Tutorial | JCL Tutorial - chapter1 | JCL Tutorial - chapter2 | JCL Tutorial - chapter3 | JCL Tutorial - chapter4 | JCL Tutorial - chapter5 | JCL Tutorial - chapter6 | JCL Tutorial - chapter7 | JCL Tutorial chapter8 | JCL Tutorial - chapter9 | JCL Tutorial - chapter10 | JCL Tutorial - chapter11
4 of 4
06-Mar-13 9:25 AM