View previous topic :: View next topic
|
Author |
Message |
xinthe
New User
Joined: 26 May 2006 Posts: 1
|
|
|
|
Can some body explain me out , how does the condition code executes in this job statement
//DPSTS013 JOB (P,112100,SLS),CLASS=P,MSGCLASS=H,USER=BATCH,
// MSGLEVEL=(1,1),REGION=2M,PRTY=15
#SCC,COND=(0,NE,*-STEP0440) |
|
Back to top |
|
|
rajeshbook
New User
Joined: 21 Nov 2005 Posts: 6 Location: Chennai, India
|
|
|
|
This will abend the job DPSTS013 if any Job Step except STEP0440 has return-code other than zero. However, when you code #SCC statements in JCL, You should update the DB.1 screen in CA-7 to tell CA-7 to look for the #SCC statements in JCL.
The CA-7 DB.1 definition reads...
COND-CODE: 0 RO: #S...(Step condition code tests to be made based on #SCC statements in the JCL)
Hope it makes clear.
Rajasekar |
|
Back to top |
|
|
rajeshbook
New User
Joined: 21 Nov 2005 Posts: 6 Location: Chennai, India
|
|
|
|
few more examples
#SCC,COND=(200,LT,step100)...Abend the Job if step100 has return-code > 200.
#SCC,COND=(1-199,EQ,step100)...Abend the Job if step100 has return-code >0 & <200.
Rajasekar |
|
Back to top |
|
|
|