2.14 LOGON/LOGOFF PROCS

When a TAE session is initiated, TAE automatically executes the SLOGON ("system logon") proc. When SLOGON terminates, TAE begins requesting and executing interactive commands.

SLOGON is also executed at the beginning of a batch or asynchronous job before the globals from the submitting job are restored. Note that values of any global variable altered by SLOGON are overwritten with the restore action.

Also note that if the user wants to start in a default menu other than the system default, ULOGON must contain a "MENU name" command. In this case no return to SLOGON is executed.

The SLOGON proc, generally in the system library, is located through the standard hierarchy search. The SLOGON proc may be used to execute user-specific initialization as follows:

A similar scheme exists for LOGOFF. When processing the LOGOFF or EXIT commands, TAE executes "SLOGOFF". SLOGOFF is expected to do installation-dependent logoff processing and then activate the user's ULOGOFF proc.

Batch and asynchronous jobs execute SLOGOFF before terminating.

The SLOGON and SLOGOFF procs are typically created and maintained by the system manager. The ULOGON and ULOGOFF procs are typically maintained by individual users.