Hey Frank, I have tried with the INREC you mentioned and it worked. Also removed the BLKSIZE from the DCB, it took BLKSIZE=27920 and have removed NODETAIL from OUTFIL as the data is been replaced with the trailer record. Thanks a lot
80:X fills in spaces from the last specified output position up to and including position 80. In your case, the last specified position is for 27:116,19 which runs up to output position 45, so blanks are filled in from output positions 46-80. This also sets the SORTOUT LRECL to 80.