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
 

 

Using symbolic parameter in IF THEN ELSE

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
abin

Active User


Joined: 14 Aug 2006
Posts: 198

PostPosted: Thu Mar 13, 2008 8:36 pm    Post subject: Using symbolic parameter in IF THEN ELSE
Reply with quote

Hi,

This may be silly, but I would like to know whether we can use check symbolic paramter values in the place of KEYWORD in an IF THEN ELSE construct in JCL
Back to top
View user's profile Send private message

superk

Moderator Team Head


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

PostPosted: Thu Mar 13, 2008 8:39 pm    Post subject: Reply to: Using symbolic parameter in IF THEN ELSE
Reply with quote

No.

I mean, you can use a typical symbolic parameter:

Code:

//*
// SET CHECK=EQ
// SET VALIDRC=2
//*
//STEPX EXEC PGM=PGMX
//*
// IF (STEPX.RC &CHECK &VALIDRC) THEN
//STEPY EXEC PGM=PGMY
// ENDIF
Back to top
View user's profile Send private message
abin

Active User


Joined: 14 Aug 2006
Posts: 198

PostPosted: Thu Mar 13, 2008 10:06 pm    Post subject:
Reply with quote

Thanks Kevin. Some times I crave for unneccessary things. I will satisfy the requirement using COND code overriding from JCL.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts LISTCAT on a dataset with symbolic pa... shreya19 JCL & VSAM 5 Fri Apr 07, 2017 5:43 pm
No new posts Can DFSPARM override SORTKEYS paramet... ashek15 DB2 2 Tue Jan 31, 2017 11:36 pm
No new posts DDNAME parameter mistah kurtz JCL & VSAM 6 Mon Dec 19, 2016 4:41 pm
No new posts Execessive parameter issue Sumeendar JCL & VSAM 5 Mon Dec 19, 2016 4:35 pm
No new posts TOT & DATE parameter in ICEMAN hemanthj642 DFSORT/ICETOOL 4 Mon Nov 14, 2016 5:19 am


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