JCL Steps

How to Run same steps in a jcl 'n' number of time each time with different input files without repeating the steps n times?

Questions by balasubramaniyan

Showing Answers 1 - 12 of 12 Answers

I want to use the Same JCL step using different input depending up on the dats.For example i have input file having 90000recoreds not i will spplit the file into 2. Now i have to process these two splited file thru same step.So how to recall or reuse the same step for other step. Please let me the code.

  Was this answer useful?  Yes

dhs01

  • Apr 15th, 2009
 

While this may not be an elegant solution, what I would do is to set up a PROC with a substitution variable. I would then invoke the PROC n times using n EXEC cards with the file override substitution.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions