Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
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

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

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.

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 Print next line strings when a condit... tgmuntor DFSORT/ICETOOL 9 Wed May 20, 2020 9:08 pm
No new posts SMF Specify in the INCLUDE parameter ... Antonio A Negrelli DFSORT/ICETOOL 7 Sat Apr 25, 2020 5:32 am
No new posts Please help - SORT with SUM fields an... clearskynot DFSORT/ICETOOL 6 Thu Apr 09, 2020 11:01 am
No new posts New Parameter should be added to the ... spizen556 CLIST & REXX 30 Fri Apr 03, 2020 5:37 pm
No new posts Conditional step execution based on P... Lccole10 JCL & VSAM 9 Wed Feb 19, 2020 10:07 pm

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