This time I have to build a sortcard to read from a file and copy all records to another, but changing just first record, and copy the same equals:
Both files are FB.
From this:
********************************* Top of Data **********************************
// DD DISP=SHR,DSN=CIPORIN.D10313.T112340.IMAGE
// DD DISP=SHR,DSN=CIPORIN.D10313.T553450.IMAGE
// DD DISP=SHR,DSN=CIPORIN.D10313.T773453.IMAGE
******************************** Bottom of Data ********************************
// DD DISP=SHR,DSN=CIPORIN.D10313.T112340.IMAGE
// DD DISP=SHR,DSN=CIPORIN.D10313.T553450.IMAGE
// DD DISP=SHR,DSN=CIPORIN.D10313.T773453.IMAGE
******************************** Bottom of Data ********************************
To this:
********************************* Top of Data **********************************
//SORTIN DD DISP=SHR,DSN=CIPORIN.D10313.T112340.IMAGE
// DD DISP=SHR,DSN=CIPORIN.D10313.T553450.IMAGE
// DD DISP=SHR,DSN=CIPORIN.D10313.T773453.IMAGE
******************************** Bottom of Data ********************************
This way I am building a member that will be included in another sort step.
I will appreciatte your help as usual!