X'6004' LOGREC TYPE NOT 4002, 01, OR 03
Explanation
The load function program read a log record that was not a valid type 4002 (DUMPQ or SNAPQ), 01 (input), or 03 (output) record, and discarded the record to the SCRAPLOG data set.
Programmer response
This error is detected by the load function routine, and is passed to the message requeuer processor to perform cleanup and to log the error in a 6701-MRQE record. The SCRAPLOG record that is written by the Load function needs to be located to determine if it is valid. The record might need to be traced back to the log data set that was the input to IQCSELCT. The QMBA area might contain part, or all of the message that was being loaded when the invalid record was detected. This is either an IMS or QCF internal error.