Illegal record on file (ERR=142) A record contains an invalid byte count field. Use the DCL DUMP command to check the file for possible bad data.