Returns an indication of the availability of one or more features.
&ZFEATURE feature1 [ feature2 .... featuren ]
&ZFEATURE returns a value of YES or NO to indicate whether your product region is configured with the single nominated feature or all the nominated features. This allows NCL procedures to include feature-dependent code that can or cannot be activated, depending on the presence of the feature.
Operands:
The names of one or more features. If the region is configured with all the nominated features, the built-in function returns a value of YES in the target variable. If any of the nominated features is not present in the system, &ZFEATURE returns a value of NO in the target variable.
Examples: &ZFEATURE
&A = &ZFEATURE TCPIP &GOSUB .&A .YES -* TCPIP feature is present, so use its facilities : .NO -* TCPIP feature is not present.
Note: &ZFEATURE is used to test for the features as listed in the description of the PROD JCL parameter in the Reference Guide.
| Copyright © 2009 CA. All rights reserved. |
|