Message Identifier Routine - IBM-REXX

The message identifier replaceable routine is called to determine if the message identifier (message ID) is to be displayed with an error message. The name of the system-supplied message identifier routine is IRXMSGID.

Tip:To permit FORTRAN programs to call IRXMSGID, TSO/E provides an alternate entry point for the IRXMSGID routine.The alternate entry point name is IRXMID.

The routine is called whenever a message is to be written when a REXX exec or REXX routine (for example, IRXEXCOM or IRXIC) is running in:

  • A non-TSO/E address space, or
  • The TSO/E address space in a language processor environment that was not integrated into TSO/E (the TSOFL flag is off)

The name of the message identifier replaceable routine is specified in the MSGIDRT field in the module name table.

Entry Specifications

For the message identifier routine, the contents of the registers on entry are described below.

Register 0 Address of the current environment block

Registers 1-12 Unpredictable

Register 13 Address of a register save area

Register 14 Return address

Register 15 Entry point address

Parameters

There is no parameter list for the message identifier routine. Return codes are used to return information to the caller.

Return Specifications

For the message identifier replaceable routine, the contents of the registers on return are:

Registers 0-14 Same as on entry

Register 15 Return code

Return Codes

This shows the return codes for the message identifier routine.

Return Codes for the Message Identifier Replaceable Routine

Return Codes for the Message Identifier Replaceable Routine

All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

IBM-REXX Topics