Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

NK4 disks

&pagelevel(4)&pagelevel

ARCHIVE enables you to use NK4 disks. The following are supported:

  • the operands BLOCK-CONTROL-INFO and BUFFER-LENGTH of ARCHIVE work files.

  • the operands BLOCK-CONTROL-INFO and BUFFER-LENGTH of ARCHIVE disk save files.

  • saving from and restoring to NK4 disks.

    Save runs also process NK4-ISAM files. For such files, the control field in each logical block has two PAM pages.

    The following combinations are possible for restore runs:

Attributes of the saved file

RESTORE to

K disk

NK2 disk

NK4 disk

BLOCK-CONTROL-INFO = PAMKEY
BUFFER-LENGTH = (STD,n) (n odd)

1)

2)

4)

BLOCK-CONTROL-INFO = PAMKEY
BUFFER-LENGTH = (STD,n) (n even)

1)

2)

2)

BLOCK-CONTROL-INFO = PAMKEY
BUFFER-LENGTH = (STD,n) (n even)
PAM phase

1)

6)

6)

BLOCK-CONTROL-INFO = NO/
     WITHIN-DATA-BLOCK
BUFFER-LENGTH = (STD,n) (n odd)
not ISAM

1)

1)

3)

BLOCK-CONTROL-INFO = NO/
     WITHIN-DATA-BLOCK
BUFFER-LENGTH = (STD,n) (n even)
not ISAM

1)

1)

1)

BLOCK-CONTROL-INFO =
     WITHIN-DATA-2K-BLOCK
BUFFER-LENGTH = (STD,n) (n odd)
ISAM

1)

1)

4)

BLOCK-CONTROL-INFO =
     WITHIN-DATA-2K-BLOCK
BUFFER-LENGTH = (STD,n) (n even)
ISAM

1)

1)

5)

BLOCK-CONTROL-INFO=
    WITHIN-DATA-4K-BLOCK
BUFFER-LENGTH = (STD,n) (n even)
ISAM

1)

1)

1)

1)

The file is restored with the attributes which it had when it was saved. No conversion is necessary.

2)

If there are no incompatibilities (record length, ...), you can carry out a standard conversion (CONVERSION=STD) with PAMINT during the restore operation. This sets the file to BLOCK-CONTROL-INFO=WITHIN-DATA-BLOCK (SAM/ISAM) or to BLOCK-CONTROL-INFO=NO (PAM); the value for BUFFER-LENGTH remains unchanged.

If there are incompatibilities, you can convert the file into the CONV format (CONVERSION=CONV) with PAMINT during the restore operation. This makes the file a PAM file with BUFFER-LENGTH=(STD,2).

In both cases, the file can be restored.

3)

The file cannot be restored. The value for BUFFER-LENGTH must be changed. You must therefore use the PAMCONV program prior to saving so that this file can be restored to an NK4 disk.
You may also convert this file into the CONV format with PAMINT, but a file converted in this manner cannot be used by the access method SAM/ISAM.

4)

The file cannot be restored. Both the value for BUFFER-LENGTH and the value for BLOCK-CONTROL-INFO (WITHIN-DATA-BLOCK for SAM, NO for PAM, WITHIN-DATA-4K-BLOCK for ISAM) must be changed. You must therefore use the PAMCONV program prior to saving so that this file can be restored to an NK4 disk. You may also convert this file into the CONV format with PAMINT, but a file converted in this manner cannot be used by the access method SAM/ISAM.

5)

The file cannot be restored. The value for BLOCK-CONTROL-INFO must be changed from WITHIN-DATA-2K-BLOCK to WITHIN-DATA-4K-BLOCK.
You must therefore use the PAMCONV program prior to saving so that this file can be restored to an NK4 disk.
You may also convert this file into the CONV format with PAMINT, but a file converted in this manner cannot be used by the access method SAM/ISAM.

6)

The file cannot be restored. You must therefore use the PAMCONV program prior to saving so that this file can be restored to an NK4 disk.
You may also convert this file into the CONV format with PAMINT, but a file converted in this manner cannot be used by the access method PAM.