Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

File link names

&pagelevel(4)&pagelevel

When using the new statements, it is possible to employ freely definable file link names to address SAM and ISAM files. Here, it is essential that at least the file name is entered in the Task File Table.

In the case of existing files only a few of the attributes are taken over from the Task File Table. These are (if specified):

FILE-NAME
WRITE-CHECK

In the case of ISAM files, the following attributes are also taken over:

WRITE-IMMEDIATE
DUPLICATE-KEY
PADDING-FACTOR
SHARED-UPDATE

All the other specifications are ignored and are taken over from the existing file.
In the case of newly created files, more of the attributes specified in the Task File Table are taken over. These are (if specified):

FILE-NAME
ACCESS-METHOD
RECORD-FORMAT
RECORD-SIZE
PRINT-CONTROL
BLOCK-SIZE
BLOCK-CONTROL
WRITE-CHECK

In the case of ISAM files, the following attributes are also taken over:

KEY-LENGTH
KEY-POSITION
WRITE-IMMEDIATE
DUPLICATE-KEY
PADDING-FACTOR
VALUE-FLAG-LENGTH
PROPAGATE-VALUE-FLAG
LOGICAL-FLAG-LENGTH
SHARED-UPDATE

All other specifications are always ignored.

The access method specification is only used if there is no explicit specification in the corresponding statement.