Guardian Procedure Errors and Messages Manual
! 0 if the user is logged off
! or is logged on as
! NULL.NULL (0,0)
INT cipri; ! [2] current priority of TACL
INT ciinfile [0:11]; ! [3] TACL IN file
INT cioutfile [0:11]; ! [15] TACL OUT file
INT loggedon; ! [27] 0 if TACL is currently
! logged off, non-zero if
! TACL is already logged on
INT username [0:7]; ! [28] internal username through
! which the user wants to
! log on
END;
The $CMON reply indicates whether the user can log on and contains an optional display message.
The form of the reply message is:
STRUCT prelogon^reply;
BEGIN
INT replycode; ! [0] 0 = proceed to VERIFYUSER
! 1 = disallow logon
STRING replytext [0:n]; ! [1] optional message to be
! printed; maximum length
! of 132 bytes
END
The length of the message is 2 bytes plus the reply-text length in bytes. The length of the reply text
is implied in the reply count used when making a reply. If reply-count=2, no text is displayed.
-60 CONFIGURATION
Cause This message is sent to the $CMON process just before either an interactive TACL process
attempts to log on from the logged-off state or a noninteractive TACL process starts. You can set
config^request^type to 1 to obtain configuration data after log on. If requestcmonuserconfig is set
to 1 in the reply message, TACL must request $CMON for user configuration data after log on.
For more information on writing a command interpreter, see the Guardian Programmer's Guide.
If the $CMON process is not running or is running too slowly, the TACL configuration remains
unchanged from its previous values.
Format The format of the configuration message is:
STRUCT config^msg;
BEGIN
INT msgcode; ! [0] -60
INT userid; ! [1] current user ID of TACL;
! 0 if logged off or logged on
! as NULL,NULL (0,0)
INT cipri; ! [2] current priority of TACL
INT ciinfile [0:11]; ! [3] IN file of TACL
INT cioutfile [0:11]; ![15] OUT file of TACL
INT config^request^type; ![27] configuration request type
! 0 send default configuration
! 1 send user configuration
END;
The length of the message is 56 bytes.
The $CMON reply contains configuration information or a display message.
The format of the configuration information message is as follows:
STRUCT config^reply;
BEGIN
INT replycode; ! [0] 0
INT count; ! [1] number of INTs that
! follow (currently12);
246 Interprocess Command Interpreter Messages