Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 Joinkeys with condition scdinesh DFSORT/ICETOOL 10 Tue Feb 14, 2017 12:20 am
This topic is locked: you cannot edit posts or make replies. How to pass the previous month date i... Suganya87 DFSORT/ICETOOL 5 Mon Oct 31, 2016 4:13 pm
No new posts How to get previous month in SYMNAMES Suganya87 SYNCSORT 9 Fri Oct 28, 2016 1:37 pm
No new posts sort with previous record anatol DFSORT/ICETOOL 9 Thu Oct 06, 2016 2:36 am
No new posts Converting multiple VB files to FB fi... Viswanath Reddy JCL & VSAM 6 Mon Aug 08, 2016 11:49 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us