In my jcl I have sortin & sort out as same one dataset and they are FB of length 80, when I try writing adding characters to file, characters are written correctly but the rest of the files is also been filled with ‘00’ instead of ‘0E’ As shown below
Input : XXXXXXXXXXXX
Expected output is : XXXXXXXXXXXX123A
After I apply below sort card : XXXXXXXXXXXX123A……..
//SORTIN DD DSN=DATASET,DISP=SHR
//SORTOUT DD DSN=DATASET,DISP=SHR
Please suggest what changes I need to do in my sort card to fix this.