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

Want to Nullify the Condition Parameter of a STEP


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts How to append a PS file into multiple... JCL & VSAM 3
No new posts Using the Jobname parameter in a Qual... ABENDS & Debugging 1
No new posts convert file from VB to FB and use tr... DFSORT/ICETOOL 8
No new posts Demand with DEADLINE TIME parameter CA Products 4
Search our Forums:

Back to Top