superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
You could use REXX, CLIST, COBOL, standard utilities, or whatever else you wish to. It seems like a relatively straight-forward process.
You'll probably want to run this in a TSO address space and use the TSO ALLOCATE command to create and catalog the datasets with all of their required attributes. Some simple file I-O and basic looping.
- Read record from the file.
- If first index, create the dataset name using the index value and the current date/time values. Write the first record to the output.
- If same index, just write to the output.
- When the index changes, close the output, and go back to the second step. |
|