Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How does the condition code executes in this job statement

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
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    Post subject: How does the condition code executes in this job statement
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 0 Thu Jan 12, 2017 12:02 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts PL/I code tuning/Performance improvement Virendra Shambharkar PL/I & Assembler 4 Mon Dec 05, 2016 11:57 am
No new posts What is the code in CLIST to enable t... jackzhang75 CLIST & REXX 1 Fri Dec 02, 2016 3:02 am
No new posts IDEAL - Code Retrieval yugendran CA Products 0 Fri Nov 25, 2016 3:27 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us