NET/MASTER Network Control Language (NCL) Reference Manual
PARSE
Verbs
3–146 106126 Tandem Computers Incorporated
ASIS
specifies that leading and trailing blanks are to be preserved when text is
assigned to the target variables. If ASIS is not specified, leading and trailing
blanks are stripped from the parsed strings as they are placed in the variables.
NONULLS
specifies the action to be taken if two consecutive delimiters are found within
the string being parsed. When two consecutive delimiters occur in the string,
there is an implied “null” section—that is, a section of zero length between the
delimiters. If NONULLS is specified then the “zero length” section is ignored
and no null variable is created. If NONULLS is omitted, a null variable is
created.
PARSE
specifies how NCL is to parse the text supplied in
DATA=
rest-of-statement
. See “Frequently Occurring Operands,” at the
beginning of this section, for more information.
REMSTR=
name
denotes the variable to be assigned the remainder of the text string that is being
parsed, if insufficient target variables are specified.
DATA=
rest-of-statement
specifies the text to be parsed. The text can be in uppercase and lowercase. If no
text is supplied, NCL uses a blank line. The data string is regarded as being
everything to the right of DATA= to the end of the statement.
Note DATA must be the last keyword in this verb.
Considerations
For possible constructions of the VARS operand, see Section 11, “Verb Syntax and
Variable Access Methods.”
See also the description of PARSE in Section 11, “Verb Syntax and Variable Access
Methods.”