Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

SWITCH - switch the base of the file FGG

With KDCPROG SWITCH, you can switch the base of the FGG when the application is not running. The next time the application starts, the new base of the FGG is then loaded. With KDCPROG SWITCH, therefore, you can execute the functions KDCAPPL PROG=NEW or PROG=OLD between two application runs.

If KDCPROG SWITCH is called while the application is running, the call will be rejected.

KDCPROG SWITCH  filebase  basenumber

filebase

Name of the directory defined n MAX...,KDCFILE=filebase in the KDCDEF generation.

basenumber

Specification of the new base generation. For basenumber, you can only specify a generation number for which a generation already exists in the FGG.

There are two specification options:

  1. Specification of an absolute generation number.

    basenumber identifies the new base generation directly.

    Minimum value: 0
    Maximum value: 9999

  2. Specification of a relative generation number with a negative sign.

    The base generation is specified relative to the last generation (= generation with the highest generation number). In this case, the value of basenumber must always be specified with a leading minus sign (-).

    Generation number of base = number of last generation - basenumber

    Minimum value: -99

    Maximum value: -1

Example

The generation with generation number 0010 is the last generation in the FGG.

If KDCPROG SWITCH filebase -1 is specified, then the file generation with generation number 0009 is the new base of the FGG.

If KDCPROG SWITCH filebase 0 is specified, the last generation (0010) is the new base of the FGG.