FREG - Natural Registry System File

#### Search Results

Search

# FREG - Natural Registry System File

This Natural profile parameter is used to specify the database ID, file number, password and cipher key for the Natural Registry system file.

The Natural Registry system file is the database file which is used to store the registry information for Natural sessions which are started with a value > 0 for the Natural profile parameter `UCONMAX`.

Possible settings | See FREG Parameter Syntax.
Default setting | none |
Dynamic specification | yes | Note If you specify the `FREG` parameter dynamically in conjunction with any of the parameters `DBID`, `FNR`, `SYSPSW` or `SYSCIP`, you must specify the `FREG` parameter after any of these other parameters.
Specification within session | no |

#### FREG Parameter Syntax

The `FREG` parameter syntax is as follows:

FREG=(database-ID,file-number,password,cipher-key)

Where:

Syntax Element | Value | Explanation
--- | --- | ---
`database-ID` | `1-65535`, except `255` | Database identification of the database in which the Natural Registry system file is located. Note Database ID `255` is reserved for logical system files, see Natural profile parameter `LFILE`.
`file-number` | `1-65535` | File number of the database file in which the Natural Registry system file is located.
`password` | 1 - 8 characters | Password for the Natural Registry system file. Notes: A password is only required if the Natural Registry system file has been password-protected using the Adabas security feature. For Natural with VSAM system files, the password is used to specify the logical name (DD or DLBL) of the system file as defined to VSAM. Example: `FNAT=(22,5,SYSVSAM)`.
`cipher-key` | 8 numeric characters | Cipher key for the Natural Registry system file. Note A cipher key is only required if the Natural Registry system file has been ciphered using the Adabas security feature.

Notes:

1. If any subparameter of the `FREG` setting is not specified, the corresponding setting of the parameter `DBID`, `FNR`, `SYSPSW` or `SYSCIP` applies for the Natural Registry system file.
2. The `FREG` system file must not reside on a read-only database.
3. If the `FREG` system file is not declared, Natural will use the `FSEC` system file for session registration. If in addition the `FSEC` system file is also not declared, Natural will use the `FNAT` system file for session registration.

#### Examples:

    FREG=(,8)
    FREG=(22,5,PASSW2)