RETURN-CODE Codes (Fixed and Variable-Length Records) - mfx - 3.1

Syncsort™ MFX Programmers Guide

Product type
Software
Portfolio
Integrate
Product family
Syncsort™ Software
Product
Syncsort™ MFX > MFX
Version
3.1
Language
English
Content type
Programmer’s Guide
Product name
Syncsort™ MFX
Title
Syncsort™ MFX Programmers Guide
Topic type
How Do I
Copyright
2024
First publish date
2010
Last edition
2024-08-27
Last publish date
2024-08-27T08:14:56.318001

0

Accept this record. This instructs MFX to accept the (unaltered) record in the RECORD-UP area.

4

Delete this record. MFX will delete the current record in the RECORD-UP area.

8

Disconnect E35. This instructs MFX to process any remaining records without showing them to the E35 exit. Register 1 is ignored for processing this return code.

When this return code is used at end-of-file (signalled by EXIT-STATUS LAST-TIME), it indicates that the E35 is also finished and will not add additional records. When used before end-of-file, it indicates that MFX should process the "current" record passed to the E35, and any subsequent records, as if there were no E35 present. Note that when MFX is not creating any output files (SORTOUT or SORTOFxx) and E35 is the only "output," MFX terminates immediately, since any subsequent records will never be seen. Also note that if an XSUM or XDUP data set was being created, it will only contain records generated prior to the return code of 8.

12

Insert a record. This instructs MFX to add the record in the WORK area to the input data set just ahead of the current record in the RECORD-UP area. When MFX returns control to the E35, the same record will be in the RECORD-UP area. The exit routine can then add another record from the WORK area or process the current record in RECORD-UP.

16

Terminate MFX. MFX will terminate and return to the calling program or the Supervisor. MFX will issue a completion code of 16 to indicate that the sort was unsuccessful.

20

Replace current record. MFX will replace the current record in the RECORD-UP area with the record in the WORK area. Be sure that the record in the WORK area is valid before passing it to MFX.