NET/MASTER Management Services (MS) System Management Guide

Configuring Utility Prompt Recognition
Managing Access to External Utilities and Applications
6–24 115414 NonStop NET/MASTER MS System Management Guide
Configuring Utility
Prompt Recognition
It is important that the CIP distinguish between a utility’s command prompts and
other kinds of prompts that the utility can issue. NonStop NET/MASTER MS delivers
OPSYS SEND commands to the utility only when the utility issues what the CIP
recognizes as a prompt for a command. The CIP delivers OPSYS ANSWER commands
to the utility when it receives any prompt that it does not recognize as a command
prompt. Because NonStop NET/MASTER MS does not check the authority level of
input text sent with an OPSYS ANSWER command, NonStop NET/MASTER MS must
distinguish command prompts from other messages.
Data in the utility prompt fields enable NonStop NET/MASTER MS to determine
whether a prompt from a utility is a prompt for a command or a prompt for some
other information, such as a request to confirm the execution of a sensitive or
disruptive command. Use these fields to describe the utility’s command interpreter
prompt:
Length less than
If a command prompt is any prompt whose text has fewer than a certain number
of characters (after discarding trailing blanks), specify that length in this field.
Specify the value in this field as an integer from 2 through 99. The field is
optional, and there is no default value.
Ending with this character
If a command prompt is any prompt whose text ends with a particular character
and has fewer than a certain number of characters, specify the ending character in
this field and the length in the Length less than field. Enter data in the Ending
with this character field only if the Length less than field contains data. The field
is optional, and there is no default value.
Matching this pattern
Use this field to specify how to recognize a command prompt if neither the default
prompt recognition nor the simple cases provided in the Length less than and
Ending with this character fields can properly recognize command prompts from
the utility. Specify the pattern as a regular expression up to 60 characters long (the
two 30-character fields on the panel are concatenated and treated as one field).
The field is optional, and there is no default value.
Supply a regular expression that matches prompt text that should be considered a
command prompt. See Appendix E, “Regular Expressions,” for more information
about regular expressions.
If you enter a value in the Matching this pattern field, the Length less than field and
the Ending with this character field must remain empty. The pattern can extend to the
Matching this pattern field on the line below if it is a long pattern. If the Matching this
pattern field remains empty, you can enter data in one or both of the other fields, and
NonStop NET/MASTER MS constructs a pattern from the value(s) in the two fields.