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
This topic is locked: you cannot edit posts or make replies. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm


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