The TACL process can store 8 undisplayed, 132-byte messages. If 8 messages are stored, subsequent
messages are rejected with an error 12 indication (file in use).
If the TACL process receives a user message followed by a zero-length message, the TACL process
clears its $RECEIVE buffer and checks the message length.
Format The format of the display message follows. The message length is 2 bytes plus the display-text
length (in bytes).
The length of the text portion is implied in the write count used to send this message.
STRUCT display^msg; BEGIN INT msgcode; ! -21 STRING text [0:n-1]; ! n <= 132 END;
None required.
-50
LOGON
Cause This message is sent to the $CMON process every time the TACL process tries to log on. If
the $CMON process is not running, no $CMON logon restrictions are in effect.
When a LOGON command is entered, the user name is checked for validity.
Format The format of the logon message follows. The message length is 54 bytes.
STRUCT logon^msg;
BEGIN
INT msgcode;
INT userid;
INT cipri;
INT ciinfile [0:11];
INT cioutfile [0:11];
END;
The $CMON reply indicates whether the user is allowed to log on and contains an optional display
message in the following form:
STRUCT logon^reply;
BEGIN
INT replycode;
STRING !
replytext [0:n];
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.
-51
LOGOFF
Cause This message is sent to the $CMON process when a LOGOFF command is entered. It is
also sent when a user logs on without first logging off (implicit logoff).
Format The form of the logoff message follows. The message length is 54 bytes.
STRUCT logoff^msg;
BEGIN
INT msgcode;
INT userid;
INT cipri;
INT ciinfile [0:11];
! [0] -50
! [1] user ID of user
! logging on
! [2] initial execution
! priority of TACL
! [3] name of the TACL
! command file
! [15] name of the TACL
! list file
! [0] 0 = allow logon
! 1 = disallow logon
! [1] optional message to
! be printed; maximum
! of 132 bytes
! [0] -51
! [1] user ID of user logging
! off
! [2] initial execution
! priority of TACL
! [3] name of the TACL
Message Descriptions 237
Need help?
Do you have a question about the Guardian Errors and is the answer not in the manual?