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. When this return code is used at end-of-file (signalled by exit_status 08), 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.

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 cur­rent 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.