Hi, my name is Steve and I am from Florida.
All files are FB format.
I am trying to use an input file as a template to create JCL (file 1).
I also have another input file with dataset names only (file 2).
I want to use both to create a file of several JCL steps (jcl file).
Basic process:
read file 2
Read file 1 and write to jcl file.
If "DSN=" found add dsn from file 2 then write to jcl file.
when file 2 EOF STOP.
How to get file 1 to start over from the top to create JCL for the next DSN?
Thanks