WARN command
Summary
- Privileges
- System administrator or operator
- Function
- Sends a message immediately
Syntax
WARN {userid | usernumber} text
Where:
userid | is the name of a Model 204 user ID (an alphanumeric string). If specified, all users logged in under that user ID name are warned. |
---|---|
usernumber | is the number associated with a particular user. |
text | is the message to be sent to the user or the user ID. For operator messages, the maximum length of the text is 99 characters. For other messages, the maximum length is 255 characters.
Multiple lines of text are specified in the form: line1/line2 .../ where the slash character (/) indicates a new line or a carriage return/line feed sequence. |
Syntax notes
A user can continue a line by specifying a hyphen as the last character on the line or by specifying any nonblank character directly following the last legal column of the line. The continuation column number is controlled by the INCCC parameter.
Example
This example specifies a user number followed by the text of the message:
WARN 12 PLEASE LOGOFF IMMEDIATELY
The following command displays a blank line followed by the specified text, followed by two blank lines:
WARN JONES /SYSTEM WILL BE GOING DOWN IN 5 MINUTES//
Usage notes
The WARN command lets the system manager, system administrator, or operator send a message to all current users of a login user ID or to any active user. Users who have only user privileges cannot issue this command.
In response to a HALT message, enter the text string included in the command as the message to be sent.
a WARN message is displayed on the receiver's terminal almost immediately. See "Message timing" in BROADCAST: Sending a file message.
The message is preceded by a header line in one of the forms:
MESSAGE FROM OPR MESSAGE FROM user number