Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Want to Nullify the Condition Parameter of a STEP
Goto page Previous  1, 2
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Tue Mar 18, 2008 7:52 am    Post subject:
Reply with quote

Hi vidhiarjaria,


I think the method stated by Cheryala in the post immediately preceeding yours takes a lot less time and poses lees risk:

"COND=(0,LE)" on your job card vs. coding "(0,LE,STEP1) on every step in the JOB.

The Job COND is tested before each step COND in each step (except the 1st), so there's no need to change the step CONDs.
Back to top
View user's profile Send private message

Douglas Wilder

Active User


Joined: 28 Nov 2006
Posts: 305
Location: Deerfield IL

PostPosted: Tue Mar 18, 2008 10:28 pm    Post subject:
Reply with quote

Yes, you can have a restart and cond both on the same job card and this would do what you want.
Back to top
View user's profile Send private message
damuonmail

New User


Joined: 07 Mar 2005
Posts: 12

PostPosted: Thu Mar 20, 2008 12:50 am    Post subject: Re: doubt in jcl
Reply with quote

saraladevi wrote:
hi all,
plz help me out,
the query is ,ihave some 6 steps in a job,and iwant only first step to be executed and all the other steps to be not executed ,how can we do it using cond parametr .plz relpy soon.



Hi,
As far as know this won't be a requirement at all. Please explain in detail what you are expecting. if you want to execute the first step alone you can include a null after the step and run the job or using IF THEn ELSE also you can solve the problem or by using COND=ONLY..... Once again I am telling it depends on your requirement.
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
Goto page Previous  1, 2
Page 2 of 2

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Create Dynamic Sort card with Omit co... balaji81_k DFSORT/ICETOOL 9 Thu Sep 26, 2019 10:06 pm
No new posts Can we pass the value of Symbolic par... Poha Eater JCL & VSAM 5 Thu Sep 05, 2019 2:21 pm
No new posts Trying to document a weird condition ... John Poulakos CICS 0 Fri Aug 30, 2019 11:19 pm
No new posts proc step return code to override in ... Aaryaa JCL & VSAM 3 Tue Aug 20, 2019 4:32 pm
No new posts Increase the Maximum Length of LRECL ... Dhineshpondy7 JCL & VSAM 5 Wed Aug 07, 2019 6:23 pm

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