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

JCL steps based on Symbolic parameter


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

New User


Joined: 05 Sep 2008
Posts: 37
Location: Chennai

PostPosted: Thu Nov 13, 2008 4:11 pm
Reply with quote

Is there any way yo execute the JCL steps based on Symbolic parameter?

Assume my JCL is having 2 steps.

If parm1 = 1 execute the JCL step1
If parm1 = 2 execute the JCL step2

Pram1 is not condition code or return code.

Thanks.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Nov 13, 2008 4:26 pm
Reply with quote

NO
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Thu Nov 13, 2008 4:29 pm
Reply with quote

Hi,

Anyway, you can't skip first step of the job.
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: Fri Nov 14, 2008 1:16 am
Reply with quote

Hello,

If COND=ONLY is applied to the first step of a job, the first step will not execute. . .
Back to top
View user's profile Send private message
MBabu

Active User


Joined: 03 Aug 2008
Posts: 400
Location: Mumbai

PostPosted: Fri Nov 14, 2008 1:20 am
Reply with quote

Why not have the 1st step of the job just be a simple Rexx program that takes the parameter and turns it into a return code. Then later steps check that return code. 1 extra step and one line of rexx code ( return arg(1) ).
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 Using the Jobname parameter in a Qual... ABENDS & Debugging 1
No new posts CA7 deleting files in steps after job... CA Products 4
No new posts To search DB2 table based on Conditio... DB2 1
This topic is locked: you cannot edit posts or make replies. Merge 2 input files based on the reco... JCL & VSAM 2
No new posts Demand with DEADLINE TIME parameter CA Products 4
Search our Forums:

Back to Top