MPLIR05556I Bad record size on current record.

The RECORD condition was raised due to a logic error, a problemw with the physical file record length, merging of the FILE attributes between the DCL, the ENV option, JCL and/or Environment variables. .
Resolution:
Correct the environment or logic error that caused the issue. PL/I RTS #fileio ctf tracing may provide you with additional information as to the root cause.
Module:
cp1op.c, cp1up.c, cp1wr.c, err.pl1, mf1io.pl1, read.pl1, rew.pl1, writ.pl1