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

how to check a condition in jcl other than RC


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sriman

New User


Joined: 08 Feb 2006
Posts: 1

PostPosted: Wed Feb 08, 2006 1:02 pm
Reply with quote

I am passing table id through PARM to the proc, depend upon the table id,

ex: if TABLE ID is greater than 700 i want to execute particular staments else to execute some other staments.

so how can i check this condition in PROC
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed Feb 08, 2006 4:29 pm
Reply with quote

You can't. You have to use a program to check for the value, then, based on that value, set the RETURN-CODE so that the PROC can take the necessary course of action.
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Wed Feb 08, 2006 4:48 pm
Reply with quote

Sriman,

What do you mean with particular and other statements? Are they statements in your program or steps in your job?
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
No new posts How to check whether who renamed the ... JCL & VSAM 3
No new posts No ++JCLIN, APPLY CHECK job JCL & VSAM 1
No new posts EMPTY file check scenario JCL & VSAM 6
Search our Forums:

Back to Top