EXPLANATION: The ddname will be SORTOUT, SORTOFxx, SORTOFx
or the ddname provided by an OUTFIL FNAMES parameter. There is a
conflict between the LRECL specification for the indicated output
file and either the post-OUTFIL or post-OUTREC record length.
Padding of records is not permitted after OUTFIL processing, so
the LRECL may not be greater than the post-OUTFIL record length.
Alter- nately, truncation of records is not permitted after the
OUTREC state- ment or the OUTFIL OUTREC processing, so the LRECL
may not be less than the post-OUTREC record length.

The LRECL of both the files are same.
What could be the possibility of this error?

First of all, the control cards originally posted do not match the SyncSort message output. These are not from the same execution of the job.

Second, there is an error in the following statement:

Code:

OUTFIL OUTREC=(21,1,CHANGE=(1,C',',C'R '))

You cannot have a length of 1 for the CHANGE field if you specify the replacement as 'R ' which has a length of 2.

If you are still encountering difficulties with this application, please contact me offline at alissa.margulies@syncsort.com with the complete job listing as a text attachment and I would be happy to assist you further.