sugavanesh wrote:I have a Job that needs to create hundred datasets, and that hundred datasets needs to be used as a input file to next step .... Is there a way for looping in jcl, so that I can create a single dataset each time and that can be used as input file for the next step, so that the job can run hundred times ... or please tell me some other solution ...
expat wrote:sugavanesh wrote:I have a Job that needs to create hundred datasets, and that hundred datasets needs to be used as a input file to next step .... Is there a way for looping in jcl, so that I can create a single dataset each time and that can be used as input file for the next step, so that the job can run hundred times ... or please tell me some other solution ...
HUH ????
Why do you want to split a dataset into hundres of datasets and then process those same hundreds of datasets in the next step.
You need to detail what is happening, why it is happening, and how this affects you requirement.
JCL itself can't provide you the capability of loop. Possibly, you can create a PROC, use symbolic name for the DSN you want to change every time and use this PROC "intelligently".sugavanesh wrote:I have a Job that needs to create hundred datasets, and that hundred datasets needs to be used as a input file to next step .... Is there a way for looping in jcl, so that I can create a single dataset each time and that can be used as input file for the next step, so that the job can run hundred times ... or please tell me some other solution ...