DFS3588W EXPECTED record type RECORD NOT FOUND AT input RECORD LOCATION resource read count RESOURCE TYPE = resource type RETURN CODE = 04

Explanation

A record type of CSECT, GEN, END, or LAST was not found where expected in the input file.

Return code 04 is from the Sort/Split utility.

System action

Stops processing this resource type. The Sort/Split utility does not sort or write any further resource types. However, the utility continues to read the resource types and verify the read counts. A report is generated.

Programmer response

Ensure that the record specified is in the correct location in the input file during Stage 1. Stage 1 might have passed an incorrect count, whereby the number of records is either greater or less than the actual count.