 |
» |
|
|
|
The WARN command enables you to send an urgent operator message
to jobs or sessions. The message interrupts any current pending read or write
in progress. Syntax |  |
WARN {@
[#]Jnnn
[#]Snnn
[jsname,]user.acct} [;message]
|
Parameters |  |
- @
Specifies that
all users receive the message, including those running in quiet mode.
- #Jnnn
Specifies a job number assigned by the system for the
job that is to receive the message.
Only jobs submitted on interactive devices
can receive messages.
- #Snnn
Specifies a session number assigned by
the system for the
job that is to receive the message.
Only jobs submitted on interactive devices
can receive messages.
- jsname, user.acct
Specifies the names of the job, session, and user to
receive the message, and specifies the account
name under which they are running.
(These names are the same as those
entered with the JOB or HELLO
command.) If several users are running under the
same job and session identity, the system sends
the message to all of them.
- message
Specifies the message text, consisting of any
string of ASCII characters containing no more than
67 characters. Pressing Return terminates the message. The default is
that no message prints.
Operation Notes |  |
Usage You can enter this command from a session, a job, a program, or in
break mode. Pressing Break does not affect this command. You can
enter this command only from the console; however,
you can enter this command from your terminal if your
system administrator has used the ALLOW command to enable you to
enter the WARN command.
Quiet mode A user can run a session in quiet mode, which suppresses messages from other
users; however, the WARN command overrides quiet mode and also overrides
a block mode screen.
Example |  |
To send a WARN message to all sessions, followed by a WARN
message to session #S51, enter:
:WARN @;THE SYSTEM WILL SHUTDOWN IN 5 MINUTES. PLS LOG OFF.
:WARN #S51;LAST CHANCE TO LOG OFF GRACEFULLY.
|
Related Commands |  |
|