I have two files that I am using to perform a simple join to get the unpaired records. My first file is empty. The input records in FILE B (my second file) are 707107. The records get processed only until 59915 and then the job fails with S0c4. Please could you help? I have tried changing the region parameter to 0M as well but it does not work. When I submit the job it finishes with 0 for the first time but processes only 59915 records, where as when I submit it again it fails with S0c4 USER COMPLETION CODE=0418.
did You care to search the dfsort documentation Yourself
if You had You would have found out the logic behing DFSORT abend processing
a dfsort xxx abend tells to research the meaning of the corresponding ICExxxA message
in this case the ICE418A message which tells to ...
| 2.2.286 ICE418A
| ICE418A JOINKEYS Fn SUBTASK FOR ddname1 TERMINATED - SEE ddname2
| Explanation: Critical. This message is issued by the main task of a
| JOINKEYS application to indicate that the subtask used to process file Fn
| (F1 or F2) terminated. ddname1 is the ddname associated with the input
| file for the subtask. ddname2 is the ddname associated with the message
| data set for the subtask.
| System Action: The program terminates.
| Programmer Response: See the messages in the ddname2 data set for
| information about the subtask. Correct the error that caused the subtask
| to terminate.
which tells You to look at the JNF2JMSG ddname to see exactly what happened !
For an S0C4, we need to see the SYSUDUMP and collect other doc. Please open a problem with IBM service so they can collect what we need to analyze the problem. We cannot debug this kind of thing on a helpboard.