NET/MASTER Network Control Language (NCL) Reference Manual
CMDLINE
Verbs
3–22 106126 Tandem Computers Incorporated
CMDLINE The CMDLINE verb writes the specified text from an NCL process to an Operator
Control Services (OCS) command input line. Any command text of 255 characters or
less can be written and the cursor positioned to any location within that text.
CMDLINE is ignored if it is used within a procedure that does not have direct access
to an OCS window (for example, from a system-level NCL procedure).
CMDLINE
text
text
specifies the text to be displayed in the OCS command entry line. There must be
one space between the CMDLINE keyword and the start of the text. Any previous
text is erased when the CMDLINE verb is executed.
The cursor can be positioned to any location within existing text by typing an
underscore (_) at the precise location the cursor is required; see the second
example provided. If an underscore is not specified or lies outside the current
command entry line boundary, the cursor is positioned at the end of the text; the
underscore character does not take up a character position within the displayed
text, and it is deleted prior to display.
You can display two or more spaces if they are enclosed within quotes (“ ”).
Single spaces separating each word of the text are unaffected.
The command entry line is reduced in length when a window is vertically split.
Considerations
By following the CMDLINE verb with the PAUSE verb, you can issue a message
to the OCS command entry line and wait for a reply. Data can be entered directly
into the command line and is immediately available for processing by the NCL
procedure that issues the PAUSE verb. This data becomes available when you
resume the procedure by entering the GO command, followed by the data, in the
OCS command entry line.
See also PAUSE and INTCMD, later in this section.
Refer to the GO command in the NonStop NET/MASTER MS Command Reference
Manual. This command allows you to resume a paused procedure and to initialize
variables with data that you enter after this command.