The Exit Communication Area  - 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

When an exit routine is given control using a 32-bit exit parameter list, Register 13 points to a 19-word area. The 19th word of this area can be used to pass information between Assembler exits. For example, when the COMMAREA PARM is used, the 19th word can be set to point to the exit communication area COMMAREA provides. The first 2 bytes of this communication area give the length of the area. You are free to change the entire communication area, including the initial halfword.

Figure 1. User Communication Area for Assembler Exit Using COMMAREA PARM

For COBOL or C exits, the address and length of this area are passed in the COBOL or C program’s parameter list. In this case, there is no halfword preface – the address points directly to the communication area.