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
ft:locale
en-US
Product name
Syncsort™ MFX
ft:title
Syncsort™ MFX Programmers Guide
Copyright
2025
First publish date
2010
ft:lastEdition
2026-03-30
ft:lastPublication
2026-03-30T10:35:28.181000
L1_Product_Gateway
Integrate
L2_Product_Segment
IBM Infrastructure
L3_Product_Brand
Precisely Syncsort
L4_Investment_Segment
Mainframe
L5_Product_Group
MF Sort/ZPSaver
L6_Product_Name
Syncsort MFX

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.