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

How to repeat a previous step in jcl depending condition


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

 


Similar Topics
Topic Forum Replies
No new posts Filter records where condition is in ... SYNCSORT 6
No new posts Extract records for a specific condit... DFSORT/ICETOOL 25
No new posts Write record twice based on condition... SYNCSORT 7
No new posts Setting RC using NULLOFL/NOTMTOFL for... SYNCSORT 6
No new posts Writing next records after a match an... Compuware & Other Tools 5
Search our Forums:


Back to Top