HP Integrity NonStop H-Series User Manual
Page 122
![background image](/manuals/397250/122/background.png)
ANSWER Command
NonStop NET/MASTER MS Interface
7–4
098571 Tandem Computers Incorporated
ANSWER Command
Use the ANSWER command to respond to confirmation prompts generated by a
utility. The following command sends text to the utility session for immediate
processing.
OPSYS ANSWER
session text
session
specifies the name of an existing utility session whose prompt is being answered.
The session name was created with the SEND command that established the utility
session. See “SEND Command” later in this section for information on utility and
session names.
text
specifies the text to be sent to the utility session for immediate processing.
Considerations
The ANSWER command sends text to a utility’s confirmation prompt. If there is no
outstanding confirmation prompt, the text from the ANSWER command is rejected.
Examples
The following two commands send the text PURGE * and INFO * to the FUP session.
The first one results in a prompt that requests confirmation.
OPSYS SEND FUP PURGE *
OPSYS SEND FUP INFO *
The following command sends Y to the FUP session as the answer to the prompt. This
text is processed before the INFO * text.
OPSYS ANSWER FUP Y
Note
If a utility session generates a confirmation prompt, subsequent SEND commands issued to that same
utility session are not processed until the confirmation prompt is answered with the ANSWER command.
In the preceding example, two SEND commands are issued to the same utility session. The second
SEND command is not processed until the confirmation prompt from the first SEND command is
answered.