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

Repeating a job step 255 times


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
morpheus007

New User


Joined: 27 Dec 2005
Posts: 58

PostPosted: Thu Jul 27, 2006 4:21 pm
Reply with quote

If we want to repeat a certain job step 255 times without having to write it how to achieve it.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Thu Jul 27, 2006 4:23 pm
Reply with quote

Submit the job 255 times instead.
Back to top
View user's profile Send private message
morpheus007

New User


Joined: 27 Dec 2005
Posts: 58

PostPosted: Thu Jul 27, 2006 4:25 pm
Reply with quote

IS there any looping technique that can take care of lets say submitting it or repeating it that many times.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Thu Jul 27, 2006 4:40 pm
Reply with quote

Any program should easily be able to have a looping structure that can iterate 255 job submissions. Otherwise, a recursive process could be done: first job is submitted, program step runs, job submits itself, and so on until all 255 iterations have been done. Obviously, you'll need to include the logic to count the number of iterations and the method to stop the recursion once 255 has been reached.
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 Build a record in output file and rep... DFSORT/ICETOOL 11
No new posts convert file from VB to FB and use tr... DFSORT/ICETOOL 8
No new posts Forcing a step to run (even if abended) JCL & VSAM 8
Search our Forums:

Back to Top