NET/MASTER Network Control Language (NCL) Reference Manual
ZFEATURE
Built-in Functions
4–114 106126 Tandem Computers Incorporated
ZFEATURE The ZFEATURE built-in function indicates whether this system is enabled for selected
features; that is, whether certain features are allowed to be used at the site.
ZFEATURE(
feature
[, … ] )
feature
specifies the feature name to be tested. Unrecognized features always result in 0
(zero) being returned; the case of letters is unimportant.
Considerations
ZFEATURE returns a value of 1 (all listed features are enabled) or 0 (one or more
listed features are not enabled) to indicate whether the NonStop NET/MASTER
Management Services (MS) system is configured with the specified feature or
features. This allows NCL procedures to include feature-dependent code.
The features currently known to NCL are:
INMC
INMC/EF
ROC
ROF
ISR
OCS
NETMGT
See also NOYES, which determines whether a specified expression equates to a
true value of 1 or a false value of 0 (zero).
Example
The following example tests if the feature FRED is enabled on the current system. As
there is no NonStop NET/MASTER MS feature called FRED, 0 (zero) is returned:
&A = FRED
&RESULT = ZFEATURE(&A)