NBSpool for MPE Reference Guide
NBSpool Output Commands
3-29
INDICATE
This command inserts a line of text to indicate where the strings used in a subset were found in
qualified spool files. The
WITH
parameter allows the default text
***
to be overridden.
INDICATE
operates only on spool files in the
READY
state.
INDICATE Syntax
O> INDICATE subset [;WITH ="string" ]
[;SHOW ]
User Tip. This command may be abbreviated to
INDI
.
INDICATE Parameters
Parameter Description
subset
Specifies the subset of spool files to be processed. The format of this
parameter must include strings, either individually or with the
STRINGS
specification. Turn to Chapter 2 for information on using subsets.
WITH="string"
Replaces the default text, which is three asterisks (
***
), with the value
enclosed in quotes. The length of
"string"
cannot exceed
255
characters.
SHOW
Displays to
$STDLIST
, the spool file and the text lines which are being
inserted.
INDICATE Example
To add indications to
$STDLIST
's where selected text was found:
O> INDICATE $,"WARNING";WITH="*** WARNING *** WARNING ***"
O> INDICATE $,"ERROR";WITH="*** ERROR *** ERROR ***"
To add indications to
MYJOB
in front of each
***
EXPRESSION
line,
and display the results to the screen:
O> INDICATE MYJOB,"*** EXPRESSION";WITH="!!!!";SHOW