Coding a C E35 Exit Routine - 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

A C E35 exit program is indicated by the MODS control statement.

Like any other E35 exit routine, the C E35 exit routine is called each time a record is brought out of Phase 3. Communication between MFX and the C exit takes place through arguments defined in the function header. For example, records are passed to the C routine by an address presented in the second argument in the function parameter list. No storage is reserved in the exit program because the records exist elsewhere.

The C E35 exit routine can be written using either the C370 V2R1 compiler with the V2R2 C370 Library, the SAA AD/Cycle C370 V1R2 Compiler and Library or the C/C++ for MVS/ESA V3R1.1 Compiler and Library. When using the LE/370 run-time library modules, it may be necessary to account for this additional storage by adjusting the b value of the Exit-Name parameter on the MODS statement.