IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How does the condition code executes in this job statement


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
xinthe

New User


Joined: 26 May 2006
Posts: 1

PostPosted: Fri May 26, 2006 4:09 pm
Reply with quote

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
View user's profile Send private message
rajeshbook

New User


Joined: 21 Nov 2005
Posts: 6
Location: Chennai, India

PostPosted: Tue Sep 05, 2006 3:54 pm
Reply with quote

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
View user's profile Send private message
rajeshbook

New User


Joined: 21 Nov 2005
Posts: 6
Location: Chennai, India

PostPosted: Tue Sep 05, 2006 3:57 pm
Reply with quote

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
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts IBM IMU Utility for Easytrieve Code t... IBM Tools 0
No new posts Filter records where condition is in ... SYNCSORT 6
No new posts Extract records for a specific condit... DFSORT/ICETOOL 25
No new posts Write record twice based on condition... SYNCSORT 7
No new posts Setting RC using NULLOFL/NOTMTOFL for... SYNCSORT 6
Search our Forums:


Back to Top