Hi everyone, new guy here!
Its great to find a Mainframe forum, its seems the community is working fine
Anyway, i've been experimenting at work with new ways to use JCL, and i find myself stuck now. Let me explain.
I have a dataset, formated with a number of records on a column on the first 10 positions. What i would like to do (using only JCL) is
add records from another dataset NEXT to the ones already there (for example, starting on the 12 position). So it looks sorta like two columns from a Spreadsheet.
I've been trying with IEBGENER (but it overwrites the previous records) and SORT (but i can't find an effective way to do this). Merge wont do the trick, since it will paste the new records below the previous ones, and not next to them.
I would appreciate any ideas on this, or any pointers on where to look. I couldnt find any info on IBM documentation, not even internal or training ones (i work there).
Also, is there a way to limit the amount of records when transferring them from one dataset to another? Like, transferring only the first 10 records (in order to sort them, or use them on the previous step of inserting them)