ULHMX1 is a user-written routine called by Com-plete's hello message transient, TTOCHM, before the hello message is sent to a terminal.
ULHMX1 not only allows you to modify the contents of the hello message before sending it to a terminal, but it can also indicate that no hello message is to be sent to a specific terminal.
ULHMX1 is entered once for each terminal that is to receive a hello message, either during Com-plete initialization if sysparm HELLOMESSAGE=YES is specified, or during processing of the HMSG operator command. ULHMX1 is loaded during initialization.
This document covers the following topics:
Upon entry to ULHMX1, a set of parameters is provided to supply the exit with the information necessary to perform its function. The first parameter is the address of a message switching control block, as built by MCALL MESGCB, specifying the message class codes and other data for the hello message. The second parameter is the address of the message text to be sent. The third parameter is the address of a halfword containing the length of the message to be sent.
The fourth parameter is the address of the TID number to receive the message. The TID number is in the form of an eight-character, printable number. For example, TID 178 would be "00000178". The fifth parameter is the address of a halfword containing the number of terminals to receive the message. This halfword is always one (1). The sixth parameter is the address of the installation ID and is used to identify the originator of the message. The installation ID is eight characters long.
The addresses in the parameter list can be changed to specify different messages and lengths. Note that the locations pointed to by the parameter list must not be modified.
The following table summarizes the ULHMX1 linkage conventions.
Feature | Convention | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Attributes | None required. | ||||||||||||
Type | Nucleus. | ||||||||||||
Size | No restriction. | ||||||||||||
Registers at Entry |
|
||||||||||||
Registers at Return | Registers 2 through 13 must be unchanged. | ||||||||||||
Parameters |
|
||||||||||||
Return Codes |
|
||||||||||||
Considerations |
|