AIIQ format, LOCATE_TERM_MODEL function

The LOCATE_TERM_MODEL function of the AIIQ format is used to obtain the attributes of a named autoinstall terminal model, and obtain a read lock on that entry in the AITM table in virtual storage.

Input parameters

TERM_MODEL_NAME
specifies the name of the autoinstall terminal model to be located.
BPS
identifies a buffer into which the attributes of the autoinstall terminal model are to be placed.

Output parameters

RESPONSE
is the subroutine’s response to the call. It can have any of these values:
OK|EXCEPTION|DISASTER|KERNERROR
[REASON]
is returned when RESPONSE is DISASTER or EXCEPTION. Possible values are:
RESPONSE Possible REASON values
DISASTER TM_LOCATE_FAILED
EXCEPTION TERM_MODEL_NOT_FOUND