Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Speed-up/reduce CPU use of code prino PL/I & Assembler 0 Tue Sep 26, 2017 12:05 am
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm
No new posts WER268A OUTREC STATEMENT : SYNTAX E... frozenblood87 SYNCSORT 12 Sat Aug 26, 2017 9:45 pm
No new posts Suppress value reported by BREAK in D... Learncoholic DFSORT/ICETOOL 3 Wed Aug 16, 2017 6:03 pm
This topic is locked: you cannot edit posts or make replies. how to code for GDG in Rexx cvnlynn CLIST & REXX 13 Wed Aug 09, 2017 9:13 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us