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

Is there anything like COND=ANY


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 677
Location: NJ

PostPosted: Wed Mar 28, 2007 8:31 pm
Reply with quote

Hi all,

Is there anything like COND=ANY? If so what it does ?

If we are having 10 steps on which 8th step we use

Code:
//STEP8 EXEC PGM=IEBGENER, COND=(0,ANY)


What does it do?

Please let me know ...
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 Mar 28, 2007 9:29 pm
Reply with quote

Hello,

Unless your site has a reader-exit that "does something" with ANY, it should cause a jcl error - when COND=(0,xx), xx is limited to 2-bytes. Have you found this in jcl that has executed successfully? If so, please post the jes output for this job.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Thu Mar 29, 2007 12:26 pm
Reply with quote

COND=(0,ANY) icon_confused.gif

Any what ? EQ, NE, GE, GT, LE, LT

What are you trying to accomplish here ?

You use condition codes to conditionally execute a step. If you are looking for ways to run the step regardless, then use COND=EVEN

This will run the step even if a previous step ABENDS.

If you want to skip the step regardless use COND=(0,LE)
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 -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Reference for COND parameter. JCL & VSAM 1
No new posts IEF142I and Cond. Code 12 All Other Mainframe Topics 3
No new posts Cond parameter and Rc code of a proce... JCL & VSAM 5
No new posts INCLUDE COND with WHEN=GROUP SYNCSORT 12
Search our Forums:

Back to Top