Return Codes   - 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
When the sort terminates, returning control to the calling program, it places a return code in Register 15:

0

indicates normal termination;

16

indicates an unsuccessful sort.

The calling program typically tests the contents of Register 15, branching to the normal-sort or sort-error end of job routine.

The following examples demonstrate how to code an extended parameter list. In this example, all exits reside below the 16-megabyte line and should be called with 24-bit AMODE set, except the E35 exit, which should be called with 31-bit AMODE set.

Figure 1. Sample Invoked Sort with Both 24-bit AMODE & 31-bit AMODE Set

This next example demonstrates how to code an extended parameter list in which all exits reside above the 16-megabyte line and should be called with AMODE 31 set.

Figure 2. Sample Invoked Sort with 31-bit AMODE Set