NET/MASTER Network Control Language (NCL) Reference Manual
VALPROC2
Built-in Functions
4–100 106126 Tandem Computers Incorporated
VALPROC2 The VALPROC2 built-in function determines whether a supplied string is a valid
Guardian process name in the specified system. If so VALPROC2 returns 1; otherwise,
it returns 0 (zero).
VALPROC2(
process-spec
)
process-spec
specifies the process name. The supplied process name must be formatted as
follows:
[ \
systemname
. ]$
processname
[ .#
qualifier1
[ .
qualifier2
] ]
In the preceding format,
systemname
and
qualifier1
can contain up to seven
characters,
processname
can contain up to five characters, and
qualifier2
can
contain up to eight characters. The first character of each component must be
alphabetic, and the remainder must be alphanumeric.
Considerations
If the system name is omitted, the name of the local system is used.
process-spec
can contain up to 33 characters.
See also VALPROC1, which determines whether a supplied string is a valid
process name.
Examples
In the following example, 1 is returned:
&A = '\sys1.$tc31'
&RESULT = VALPROC2(&A)
In the following example, 0 (zero) is returned:
SAY VALPROC2($ngm)
In the following example, 0 (zero) is returned:
SAY VALPROC2(process)