You can specify the VALUE and STATION attributes by using CANDE or WFL with the RUN statement that executes the GUARDFILE utility.
Use the VALUE attribute to specify whether the GUARDFILE utility is run to generate a guard file or to examine the contents of an existing one. The utility runs in guard file generation mode by default or when the VALUE attribute is specified as zero or a negative number. If VALUE is specified as a positive number, the utility runs in examination mode.
Use the STATION attribute to specify whether the GUARDFILE utility uses the terminal or the reader for input and the terminal or the printer for output. The utility runs with terminal input and output when the STATION attribute is nonzero. The STATION attribute defaults to a nonzero value (specifying the source station or pseudo-station) when a program is run through CANDE or MARC. If the STATION is specified as zero, the utility uses the reader for input and the printer for output. The STATION attribute defaults to zero for programs run through WFL.
VALUE and STATION Attributes summarizes the values and meanings of these attributes.
Table 33. VALUE and STATION Attributes
Attribute | Value | Specifies |
---|---|---|
VALUE |
Zero or negative (default) |
Generation mode |
Positive |
Examination mode |
|
STATION |
Nonzero (default for CANDE & MARC) |
Terminal output and default terminal input |
Zero (default for WFL) |
Printer output and default reader output |