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
 
QUESTIONS ON COND PARAMETER

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

Moderator


Joined: 09 Mar 2005
Posts: 363
Location: Earth

PostPosted: Thu May 26, 2005 10:17 am    Post subject: QUESTIONS ON COND PARAMETER
Reply with quote

Hi,
Can anybody give the answer of the following questions.
There are 3 steps in the JCL:
How you can bypass step2 in your JCl by using cond parameter in each time.

How can you run a step2 all the times by using cond parameters(without giving cond=even). Even the previous step fails you have to execute step2.
Back to top
View user's profile Send private message

srividya.srinivasan

New User


Joined: 30 Mar 2005
Posts: 11
Location: Pune, India

PostPosted: Fri May 27, 2005 11:40 am    Post subject: QUESTIONS ON COND PARAMETER
Reply with quote

Hi Subhasis,

To bypass step2 in your JCL give COND(0,GT,Step1), coz u r return Code will always be either Equal to or greater than 0.

Similarly to Execute your step 2 everytime give COND(0,LT,Step1), Coz the return Code will never be less than zero


Please let me know if u have any queries.
regards,
Vidya
Back to top
View user's profile Send private message
subhasis_50

Moderator


Joined: 09 Mar 2005
Posts: 363
Location: Earth

PostPosted: Fri May 27, 2005 11:53 am    Post subject: Re: QUESTIONS ON COND PARAMETER
Reply with quote

Hi,
Thnx Vidya
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sat May 28, 2005 11:25 pm    Post subject:
Reply with quote

I have a ques:

What happens to step2 if step1 passes a RC=4?
Back to top
View user's profile Send private message
David P

Active User


Joined: 11 Apr 2005
Posts: 106
Location: Cincinnati Ohio

PostPosted: Tue May 31, 2005 12:28 pm    Post subject:
Reply with quote

Hi Subhasis,

To execute the step STEP2 all the time irrespective of the return code of previuos step using COND parameter
COND=(STEP1,GT,4095)

And similarly if you want the STEP2 should never execute
COND=(STEP1,LE,4095).

All suggestions are welcome.

regards,
David.
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 Regarding time parameter shanthi gude JCL & VSAM 7 Mon Sep 04, 2017 2:31 pm
No new posts Paasing symbolic parameter to instrea... Robert Sample JCL & VSAM 2 Thu Jul 27, 2017 1:22 pm
No new posts JTS parameter Shashank Chaubey JCL & VSAM 2 Thu Jul 13, 2017 4:15 pm
No new posts Include/omit with "ALL" pa... mgl DFSORT/ICETOOL 6 Wed Jun 14, 2017 2:31 pm
No new posts Mainframe Interview Questions CICS,CO... akshathan Mainframe Interview Questions 6 Thu Feb 09, 2017 6:38 pm

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