C$CONFIG

C$CONFIG resets configuration values to a known set of values. Note, however, that certain values are set only at runtime start up, and are therefore not affected by this routine.

Usage

CALL "C$CONFIG" 
    USING OP-CODE, CONFIG-FILE

Parameters

OP-CODE PIC 9

The only valid value is 1. If the op-code is specified with no arguments, C$CONFIG resets all known configuration values to their default. Values are removed from any user-defined configuration variables, leaving them blank, and the original configuration file is reloaded.

CONFIG-FILE PIC X(n) (optional)

Specifies a new configuration file to be loaded after the configuration variable values have been reset.

Description

C$CONFIG resets all runtime configuration variables first to their default values, then to the values specified in CONFIG-FILE, if CONFIG-FILE is specified.

If you pass a blank argument for CONFIG-FILE, as shown below, all configuration variables are reset and no configuration file is loaded.

CALL "C$CONFIG" USING 1, ""