HP 3000 Manuals

REPLY/=REPLY [ MPE/iX Commands Reference Manual Volume I ] MPE/iX 5.0 Documentation


MPE/iX Commands Reference Manual Volume I

REPLY/=REPLY 

Replies to pending resource requests at the console.

Syntax 

     REPLY pin,reply 

     =REPLY pin,reply 

Parameters 

pin                   The process identification number (PIN) of the
                      message sender.  As part of the message requesting
                      the REPLY, the PIN always appears after the second
                      slash mark (/).  In the following example, the PIN
                      is 43.

                           ?16:15/#S25/43/LDEV# FOR "T" ON TAPE (NUM)?

reply                 The reply type specified in parentheses in the
                      message, defined by one of the following:

                      (NUM)                 Reply must be a logical
                                            device number.

                      (Y/N)                 Reply must be either YES (or
                                            Y) or NO (or N).

                      (MAX CHARS.=nn)       Reply must be a string
                                            expression consisting of nn 
                                            characters or less.

Operation Notes 

User programs that have requested the use of a device and are waiting for
you to reply remain suspended indefinitely and cannot be aborted until a
REPLY or a Break/ABORT is issued.  If for any reason you cannot reply as
requested (for example, if the particular device is nonexistent or a
special form is unavailable), then use REPLY/=REPLY with 0 if type NUM is
requested, or with N if type Y/N is requested.  This returns an error
code to the program and the REPLY/=REPLY is aborted.

The reply usually takes the form (NUM) or (Y/N), since (MAX CHARS.=nn) is
used only for labeled tapes and the PRINTOPREPLY intrinsic.

If your reply is not of the type specified, an error message is
displayed.

Use 

This command may be issued from a session, job, program, or in BREAK.
Pressing Break has no effect on this command.  It may be issued only from
the logical console, unless distributed to specific users with the ALLOW
or ASSOCIATE command.

The Ctrl A =REPLY command can be used only from the physical console.  It
cannot be executed from a job or a program.

Examples 

Use the REPLY command to respond to a message from the MPE/iX system, as
follows:

     10:05/#J19/15/LDEV# FOR "NAS" OF TAPE1600 (NUM)?
      REPLY 15,7 

or

      CTRL A 
     =REPLY 15,7 

Use the REPLY command to respond to a FORMS message from the MPE/iX
system, as follows:

     15:46/#S93/22/FORMS: PLEASE MOUNT MAILING LABEL FORMS
     ?15:46/#S39/22/SP#12/LDEV# FOR #S93;OUTFILE ON LP (NUM)?

      REPLY 22,12 
     15:46/#S39/22/LDEV#12 FORMS ALIGNED OK (Y/N)?

Answering NO causes the printing to be deferred to a much lower priority.
After the forms have been aligned, use the ALTSPOOLFILE command to change
the spooling priority, in order to send the spoolfile to the printer.

      REPLY 22,NO 
     15:48/#S93/22/LDEV#12 FORMS ALIGNED OK (Y/N)?

Answering YES causes the spoolfile to go to the printer in its assigned
sequence.

When the next spoolfile becomes ACTIVE, you are requested to mount the
appropriate special or standard forms.

To reply to a standard forms request, enter:

     16:00/#S93/22/STANDARD FORMS
     ?16:00/#S93/22/LDEV # FOR #S95;L ON LP (NUM)?

     REPLY 22,12 

Related Information 

Commands      RECALL

Manuals       Performing System Operation Tasks (32650-90137)

              System Startup, Configuration, and Shutdown Reference 
              Manual (32650-90042)



MPE/iX 5.0 Documentation