System Console Requests [ Controlling System Activity ] MPE/iX 5.0 Documentation
Controlling System Activity
System Console Requests
System console requests are messages from users that, for example, ask
you to mount a tape or load special forms on the printer. All console
request messages begin with a question mark. If a message requires a
REPLY/=REPLY (not all do), the message will end with a reply type,
enclosed in parentheses. Reply types are described in Table 3-5, in
"REPLY Syntax".
User programs waiting for replies are suspended indefinitely. Therefore,
it is important to check for request messages often and to respond to
them as quickly as possible. Use the RECALL command to check for console
requests and the REPLY/=REPLY command to answer requests.
NOTE Some commands can be executed only by users with system manager
(SM) or system supervisor (OP) capabilities. Also, some commands
can be executed only from the system console, and only following
the prompt =. (The prompt = is created by entering CTRL A, which
is accepted only by the system console.) At times, it is desirable
to assign such commands for use by others, and for use at terminals
other than the system console. The command REPLY is one of these.
In the form =REPLY, the command can be entered only from a
hard-wired system console. In the form REPLY, the command can be
entered from any terminal by anyone who has specifically been given
the ability to do so (refer to the ALLOW command). In the
following text, references to REPLY also apply to =REPLY.
Display Pending Console Request Messages with RECALL
To display console requests enter:
RECALL
The system displays the text of pending REPLY request messages:
REPLY(S) PENDING:
?10:05/#J9/15/LDEV# FOR "LOO576" ON TAPE1600 (NUM)?
If no messages are pending, you will see:
NO REPLIES PENDING (CIWARN 3020)
Reply to Console Request Messages
The following message from a user identified by the pin 15 requests the
assignment of a tape drive for job #J9.
?10:05/#J9/15/LDEV# FOR "L00576" ON TAPE 1600 (NUM)
Answer the request by entering:
REPLY 15,4
where 15 is the pin and 4 is the ldev number of a tape drive.
NOTE A request from a user causes the indefinite suspension of the
requesting program. Therefore, the system operator should reply to
a request as soon as possible. If the request cannot be fulfilled,
the system operator replies by assigning a logical device number of
0 or by replying NO. This clears the request and permits the user
program to resume running.
REPLY Syntax
REPLY pin,reply [,parameter]
Table 3-6. REPLY Parameters
---------------------------------------------------------------------------------------------
| | |
| Parameter | Description |
| | |
---------------------------------------------------------------------------------------------
| | |
| pin | The process identification number of the message sender. It is part of |
| | the message you receive. In this example, 43 is the pin number: |
| | |
| | ?16:15#S25/43/LDEV# FOR "T" ON TAPE (NUM)? |
| | |
---------------------------------------------------------------------------------------------
| | |
| reply | The reply type specified in the message, defined by: |
| | |
| | (NUM) Reply must be a logical device number. |
| | |
| | (Y/N) Reply must be YES (or Y), NO (or N). |
| | |
| | (Sxx) Reply must be a string not to exceed xx characters in length. |
| | |
| | (Y/N#) Reply must be YES (or Y), NO (or N), or a logical device number. |
| | |
---------------------------------------------------------------------------------------------
| | |
| param | The same as the reply parameter, excluding type (Y/N#). |
| | |
---------------------------------------------------------------------------------------------
Tape Requests
Your system may be configured to respond automatically to a tape request.
If so, you only need prepare the tape and tape drive for use.
An example of a tape request is:
?14:57/#S25/43/LDEV# FOR "T" ON TAPE (NUM)
The first item in the message is the time the message was received.
The next item is the session number, which identifies the requestor to
the system operator.
NOTE Use AUTOREPLY only on systems with single tape drives.
Forms Requests
Special forms requests received at the system console (payroll checks for
example), should be answered immediately, since the requestor will be
waiting to start work.
The following is an example:
?10:20/#J29/FORMS; PLEASE MOUNT PAYROLL CHECKS
If you receive this type of message, proceed as follows:
* Mount the special forms.
* Read the next message on your console. It will ask you which printer
the requestor is to use to print the checks. The message will look
like this:
?10:20/#77/21/#SP12/LDEV# FOR #S29; OUTFILE ON LP (NUM)?
Enter:
=REPLY 21,6
Where:
21 is the requestor's pin number and 6 is the ldev number of the assigned
printer.
* The next message on your console will ask you to check the alignment
of the paper:
?10:26/#77/21/LDEV #6 FORMS ALIGNED OK (Y/N)?
Enter:
=REPLY 21,Y
MPE/iX 5.0 Documentation