Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Is there anything like COND=ANY

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 680
Location: NJ

PostPosted: Wed Mar 28, 2007 8:31 pm    Post subject: Is there anything like COND=ANY
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

Site Director


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

PostPosted: Wed Mar 28, 2007 9:29 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Thu Mar 29, 2007 12:26 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts how to DYNAMICALLY write sort cond to... mohamedmubee COBOL Programming 13 Fri Aug 26, 2016 11:46 pm
No new posts COND parameter vs IF THEN ELSE Alks JCL & VSAM 11 Fri Jun 17, 2016 5:28 pm
No new posts Include Cond issue vickey_dw DFSORT/ICETOOL 6 Tue Mar 29, 2016 8:51 pm
No new posts How to detect the Job COND used tdfs JCL & VSAM 28 Tue Feb 09, 2016 8:34 pm
No new posts Repeating input records for variable ... ksouren007 DFSORT/ICETOOL 1 Fri Jul 31, 2015 4:16 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us