I hope everyone is doing well. I have a requirement to create a couple records based on one field from the input file (customer number).
Sample input file:
11177777777777Y
11199999999999Y
11188888888888Y
Desired output file:
11177777777777YCOKE
11177777777777NSPRITE
11199999999999YCOKE
11199999999999NSPRITE
11188888888888YCOKE
11188888888888YSPRITE
I made this work by using OUTFIL, creating two different files while using the same input file, with different BUILD parms, then merging the files.
I want to know if this can be done in one pass using sort.
Any assistance would be greatly appreciated.
Thanks!