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
Copyright
2024
First publish date
2010
Last updated
2024-11-06
Published on
2024-11-06T17:38:26.716054

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

Do not return to this exit. This instructs MFX to close the exit for the remainder of the sort application. This return code might be used at SORTIN end-of-file (Exit Status Code 08) to indicate that extra records will not be added at this point. If SORTIN is present, the current input record and all subsequent records will be processed by MFX.

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 E15, the same record will be in the RECORD-UP area. The exit routine can then add another record from the WORK area or pro­cess the current record in RECORD-UP.

16

Terminate MFX. MFX will end its program 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.