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
 
How to repeat a previous step in jcl depending condition

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
anil.p
Warnings : 1

New User


Joined: 26 Sep 2006
Posts: 5
Location: TVM

PostPosted: Fri Oct 13, 2006 3:31 pm    Post subject: How to repeat a previous step in jcl depending condition
Reply with quote

how to repeat a previous step in jcl depending condition
Back to top
View user's profile Send private message

meetreks

New User


Joined: 28 Sep 2006
Posts: 26
Location: Edinburgh

PostPosted: Fri Oct 13, 2006 4:20 pm    Post subject:
Reply with quote

use IF THEN statements to control the flow of the JCL.
Back to top
View user's profile Send private message
Kevin

Active User


Joined: 25 Aug 2005
Posts: 234

PostPosted: Fri Oct 13, 2006 5:31 pm    Post subject: Re: How to repeat a previous step in jcl depending condition
Reply with quote

What exactly do you mean by "repeat a previous step"? Don't forget, you're (I think) talking about JCL here.
Back to top
View user's profile Send private message
shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Fri Oct 13, 2006 5:52 pm    Post subject:
Reply with quote

hi anil,

itz not possible to run a tep iteratively in a JCL unless there is a step at the end of the Job to submit the same job.

~Vamsi
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sun Oct 15, 2006 8:13 pm    Post subject:
Reply with quote

hi anil,

The easiest way is to repeat the step where you want it executed the 2nd time and wrap it in an IF/END-IF or use the COND param.
Back to top
View user's profile Send private message
anil.p
Warnings : 1

New User


Joined: 26 Sep 2006
Posts: 5
Location: TVM

PostPosted: Tue Oct 17, 2006 6:25 pm    Post subject: thanks
Reply with quote

icon_lol.gif thanking all .....
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
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
No new posts it is possible output a SET value fro... Martylin JCL & VSAM 5 Fri Sep 22, 2017 7:08 am
No new posts Fetch Previous month & year in MM... girishb2 DFSORT/ICETOOL 3 Thu Sep 21, 2017 9:54 pm
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm
No new posts Repeat part of record multiple times Learncoholic DFSORT/ICETOOL 4 Tue Aug 29, 2017 11:33 am

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