Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Issuing messages from your REXX check with the HZSLFMSG function IBM Health Checker for z/OS User's Guide SC23-6843-02 |
|
This section covers issuing messages from your REXX check. REXX check messages are important because they report the results of the check to an installation. See Planning your check messages. Each REXX check should issue at least:
Issue WTO’s from your REXX check using only HZSLFMSG for an exception message. HZSLFMSG produces data for the message buffer to create reports and issue and exception message. You'll use the HZSLFMSG function to:
Example - Issuing a message for a REXX
check with a message table: The following example shows how a
REXX check uses the HZSLFMSG function to issue an exception message
for a check with a message table associated with it. Note
that REXX variable values are processed as character text; the input
values for decimal and hexadecimal variables must be expressed in
hexadecimal.
In this example:
In
that case, the REXX check might use the following HZSLFMSG input variable:
The example implies everything needs to be a fullword. A hex value is required. Since this is a rexx and not assembler it makes more sense to make it look like a rexx variable. Hex values must be bytes. So refer to the number of bytes. '1234' when display as hex would appear as 'F1F2F3F4' '1234' '0A'x when displayed as decimal variable with a fieldsize of 4 would appear as a left aligned 10 Message variables issued by REXX checks should be text (character) inserts, except when the value is a true hexadecimal or decimal value, or when the value has been converted to a hex value. Text variables do not require additional translation.
If an HZSLFMSG function call is incorrect, the system
issues system abend X'290' with a unique reason code and
creates a logrec error record. The abend and reason code are included
in the check display output. The system checks the following for each
HZSLFMSG call:
|
Copyright IBM Corporation 1990, 2014
|