MSGEXIT Option - mfx - 3.1

Syncsort™ MFX Installation

Product type
Software
Portfolio
Integrate
Product family
Syncsort™ Software
Product
Syncsort™ MFX > MFX
Version
3.1
Language
English
Product name
Syncsort™ MFX
Title
Syncsort™ MFX Installation
Topic type
Installation
Release Notes > What's New
Copyright
2024
First publish date
2010
Last edition
2024-08-27
Last publish date
2024-08-27T07:49:46.255035
MSGEXIT = ([n][,m][,s][,N])

The MSGEXIT option enables you to modify, delete, and insert Precisely messages.

When MSGEXIT is defined as a default option, it will be called before each SYNCSORT message is written to SYSOUT DD.

n – specifies the name of your routine.

m – specifies the number of bytes of main storage your routine uses.

s – specifies the name of the DD statement that defines the library in which your routine is located.

N – only option currently accepted, indicating the EXIT program is pre-linked.

Caution!

  • MSGEXIT must only be passed as an installation option, not as a run-time parameter.
  • If you do not define the routine name, all sort jobs will fail with an S806 abend.

Input Information to the Exit:

  • R1 – Address of MSGEXIT PARMLIST.
  • MSGEXIT PARMLIST – Two words long:
  • WORD1: Address of message to be posted
  • WORD2: Address of work area

The work area contains JOBNAME, STEPNAME, and PROCNAME of the current job step. Each field is 8-bytes long:

  • +0        JOB NAME
  • +8        STEP NAME
  • +16      PROC NAME

Return Information from the Exit:

  • R1: Should be pointing to the new message
  • R15: return code from the exit
    • 0: Accept the message
    • 4: Delete the message
    • 8: Normal terminate exit processing
    • 12: Insert additional message