Hello,
First - this is
not a JCL question.
I want to copy first 50 GENERATIONS into a sing flat file and also
i want to copy alternate GENERATIONS into a single flat file
IN A SINGLE STEP WITHOUT DATA SET CONCATENATION.
Yes, this can be done (if i understand the "requirement") - but most likely not by someone with limited experience. . .
This could be done in a single "step" using rexx or assembler or even cobol or a combination of these. . .
This would require that all files be dynamically allocated. Which generations to copy to which output would also be determined dynamically.
To provide useful replies, the question needs to be quite clear to everyone participating.
If some interviewer asked if this can be done with JCL, the answer is No, it cannot. Possibly the interviewer needs to learn that JCL does nothing execpt execute "things". . .