Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Using HZSMGB data area format MGBFORMAT=1 IBM Health Checker for z/OS User's Guide SC23-6843-02 |
|||||||||||
1 shows an example of defining the message number in the MGB1_MessageNumber field. 2 shows an example of filling in the MGB1_Insert_Cnt field with the number of variables for your message. 3 shows examples of defining the length and address of the variable in the MGB1_MsgInsertDesc_Length and MGB1_MsgInsertDesc_Addr fields for the variable in storage. These fields are in the MGB1_MsgInsertDesc mapping. 4 shows an example of issuing a message. Note that this example shows a local message. For a remote check, the HZSFMSG macro must include the REMOTE=YES, HANDLE=handle, and MSGTABLE=msgtable parameters. 5 shows how the variable address, length, and value are defined to be stored in the HZSMGB data area or in storage. 6 shows an example of creating an area big enough in the HZSMGB1 for the information about all your variables. To create enough room for all your variables, use the formula HZSMGB1_LEN1 + (n)*MGB1_MsgInsertDesc_Len where n is the number of inserts. Figure 1 shows check routine code that
defines variable data in the HZSMGB data area using MGBFORMAT=1:
Figure 1. Example of issuing a message
with variables using MGBFORMAT=1
Important MGBFORMAT=1 fields in the HZSMGB data area include:
|
Copyright IBM Corporation 1990, 2014
|