Natural for Mainframes Version 8.2.6 for Mainframes
 —  Parameter Reference  —

LFILE - Logical System File Definition

This Natural profile parameter specifies information concerning the physical database file to be associated with a logical system file for Software AG products.

Possible settings See LFILE Parameter Syntax.
Default setting none  
Dynamic specification yes This parameter can only be specified dynamically. In the Natural parameter module, the macro NTLFILE is used instead.
Specification within session no  
Application programming interface USR0011N  
USR2004N (recommended)

Notes:

The following topics are covered below:


LFILE Parameter Syntax

The LFILE parameter is specified as follows:

LFILE=(logical-fnr,physical-dbid,physical-fnr,password,cipher-key,[RO])

Where:

Syntax Element Value Explanation
logical-fnr 1 - 251 Logical file number. This parameter is mandatory.
physical-dbid 0 - 65535, except 255 Physical database ID. Database ID 255 is reserved for logical system files for Software AG products.
physical-fnr 1 - 65535 Physical file number.
password 1 - 8 characters. Password and cipher key are only required if the database file has been password-protected and/or ciphered using the Adabas security feature.
cipher-key 8 numerical digits.
RO n/a Flag for read-only access.

Note:
To define different logical files, the LFILE parameter must be specified multiple times (separated by a comma or a blank); see Example of LFILE Parameter.

Top of page

NTLFILE Macro Syntax

The NTLFILE macro is specified as follows:

         NTLFILE logical-fnr,physical-dbid,physical-fnr,password,cipher-key,RO

Notes:

  1. For an explanation of the syntax elements and for possible values, see LFILE Parameter Syntax.
  2. To define different logical files, the LFILE parameter or the NTLFILE macro must be specified several times; see Examples of NTLFILE Macro.

Top of page

Example of LFILE Parameter

LFILE=(180,73,10),LFILE=(251,40,9,TEST99)

Top of page

Examples of NTLFILE Macro

         NTLFILE 180,73,10
         NTLFILE 251,40,9,TEST99

Top of page