Initialization
The EZLEFAIL routine retrieves resource information by running the RESINFO program defined in the option definition tables. This program returns all required data in keyword=value list format. The EZLEFAIL routine assigns values to keyword variables for use by messages and other programs called by the routine.
Next, the EZLEFAIL routine gets any optional processing values
from the TBLKEY parameter. If you do not specify the TBLKEY parameter
for the EZLEFAIL routine, no optional processing or notification occurs.
The values on the TBLKEY parameter specify keywords found in the option
definition tables. In the option definition table, the keywords define
the actual processing values used for optional processing. AON saves
the TBLKEY values in the outmsgid and spec_function variables. Message EZL509I is
the default outmsgid. The value of TBLKEY
is in the following format:
tblkey_value=(outmsgid,spec_function_call)For example, if the EZLEFAIL routine is called with:
EZLEFAIL OPTION=SA MSGPRMS=(OPID) TBLKEY=IST105I RESNAME=resnameThe
EZLEFAIL routine gets the values specified on the IST105I keyword
in the option definition table. In the option definition table, you
can see the values on the IST105I keyword as follows:
IST105I=(EZL531,FKVEAIDA(resname restype))In this example, the EZLEFAIL routine issues the EZL531I message and runs FKVEAIDA as a function sending the current value of resname (resource name) and restype (resource type) for optional processing. An optional processing program performs any automation or processing unique to the resource or failure. No optional processing is done and no message is issued if SKIP=(0) is specified on the EZLEFAIL call.