WARN



WARN

     Sends an urgent message to jobs/sessions.  (CM)

SYNTAX


{@ }
WARN {[#]Jnn }[;text]
{[#]Snn }
{[jsname,]user.acct}

PARAMETERS


@ All users receive the message (QUIET and NONQUIET).

#Jnn A job number (assigned by MPE/iX) for the job that
is to receive the message.

#Snn A session number (assigned by MPE/iX) for the job
that is to receive the message. Only jobs submitted
on interactive devices can receive messages.

jsname,user.acct The names of the job/session and user to receive the
message and 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/session identity, MPE/iX will send the message
to all of them.

text The message text, consisting of any string of ASCII
characters containing no more than 67 characters.
The message is terminated by [Return]. Default is
that no message is printed.

OPERATION


Sends an urgent message, interrupting any current pending
read or write in progress. The message will appear on the
list devices of all sessions (even those that are QUIET) as

OPERATOR WARNING text

Messages sent with the WARN command will be received by a
job only if the job was submitted on an interactive device.

The user has the option of running his session in QUIET
mode. In that case, TELL messages from other users will be
suppressed. WARN messages generated at the system console,
however, override QUIET mode.

Use caution when sending a warning to users. The WARN
command overrides a block mode screen.

This command may be issued from a session, job, in BREAK, or
from a program. Pressing [Break] has no effect on this
command. It may be issued only from the console.*

* Unless distributed to users with the ALLOW command.

EXAMPLE(S)

     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.

ADDITIONAL INFORMATION

Commands:   TELL, TELLOP

Manuals :   Performing System Operation Tasks (32650-90137)