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

Coding #SCC Condition in JCL.


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

New User


Joined: 31 Aug 2007
Posts: 55
Location: bangalore

PostPosted: Fri May 23, 2008 2:15 pm
Reply with quote

Hi,

Please let me know how to code the #SCC condition in JCL.

Here I am having two scenarios in my job, but i don't understand the logic behind it.

Job1:

STEP01 is having the return code as 00 and 04 which are acceptable return code. If RC is 00 the next step will execute and if RC is 04 the next step will skip and SCC for this condition is return as
#SCC,COND=(4,LT,STEP01)
#SCC,COND=(0,LT,*-STEP01)

Job2:
STEP01 is having the return code as 01 and 28 which are acceptable return codes. If RC is 28 the next step will execute and if RC is 01 the next step will skip and SCC for this condition is return as
#SCC,COND=(2-27,EQ,STEP01)
#SCC,COND=(28,LT,STEP01)
#SCC,COND=(0,LT,*-STEP01)

Please explain on this.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri May 23, 2008 2:25 pm
Reply with quote

These are CA7 condition code checking statements - NOT JCL condition code statements.
Back to top
View user's profile Send private message
krsenthil85

New User


Joined: 31 Aug 2007
Posts: 55
Location: bangalore

PostPosted: Wed May 28, 2008 11:27 am
Reply with quote

expat wrote:
These are CA7 condition code checking statements - NOT JCL condition code statements.




Ok, Sorry for posting in JCL section. Can u let me know how to code the ca7 condition code checking accordinly
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed May 28, 2008 9:07 pm
Reply with quote

Hello,

I'd suggest talking with your scheduling people. As this is already in place, someone there will know why it is in the job(s).

If your organization is licensed to use CA7, all of the material may be downloaded free from the CA Support site.

The material is covered by copyright so we may neither post it nor link to it from our forums.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts How to give complex condition in JCL . CLIST & REXX 30
No new posts selectively copy based on condition DFSORT/ICETOOL 3
This topic is locked: you cannot edit posts or make replies. Control-m JOB executing even when the... Compuware & Other Tools 6
No new posts Dynamic condition checks COBOL Programming 5
No new posts Extract 2 more lines below line that ... DFSORT/ICETOOL 2
Search our Forums:

Back to Top