Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

PAMCONV Conversion of file formats

&pagelevel(2)&pagelevel

Version:

PAMCONV V21.0A

The PAMCONV utility routine is used for converting files from K format to NK format or vice versa.

Files encrypted with a crypto password are also supported (see "Functionality of PAMCONV").

In K format, the DMS management information is stored in a PAM key which is prefixed to the data block. This file format is referred to as key format, or K format for short.

In NK format, which does not use the PAM key, the DMS management information is either integrated in the data blocks or it is left out. This file format is known as nonkey format, or NK format for short.

The term NK file serves as a generic term for NK2 and NK4 files.
These file formats (K, NK2 and NK4) were created so as to be enable the data management system to make the best possible use of the existing disk formats.

The minimum transfer unit between the disk and main memory as well as the size of the smallest file (minimum allocation unit=min. AU) are depending on the file format.

Files on NK4 disks must always be in NK4 format. PAMCONV offers the possibility of converting K or NK2 files to NK4 format.

Disk formats

A disk format is defined by the criteria “with/without PAM key”, “minimum allocation unit (min. AU)” and “minimum transfer unit (min. TU)”.

The disk format within any one pubset is homogeneous (except SM pubsets).
For private disks the only formats supported are the K and NK2 disks with a minimum allocation unit of 6 Kbytes.

The following disk formats are supported:

Disk
format

PAM key

min. AU

min. TU

with

without

 6 KB

8 KB

64 KB

 2 KB

4 KB

K disk

x


x



x


NK2 disk


x

x



x


NK2 disk


x


x


x


NK2 disk


x



x

x


NK4 disk


x


x



x

NK4 disk


x



x


x

 

The diagram below shows which file formats can be stored on the supported disk formats without the file formats first having to be converted using PAMCONV.

Figure 12: File formats that can be stored on certain disk formats without conversion

The primary purpose of PAMCONV is to convert K files into NK files so that the latter can be stored in NK pubsets.

Conversion options with PAMCONV

The conversion options provided by PAMCONV for the individual file structures are listed in the table below.

 

Conversion options with PAMCONV

File structure

File format1 <--> file format2                     

ISAM

K-ISAM
K-ISAM
NK2-ISAM

<--->
<--->
<--->

NK2-ISAM
NK4-ISAM
NK4-ISAM

SAM

K-SAM
K-SAM
NK2-SAM

<--->
<--->
<--->

NK2-SAM
NK4-SAM
NK4-SAM



PAM

K-PAM
K-PAM
NK2-PAM

<--->
<--->
<--->

NK-PAM
NK4-PAM
NK4-PAM



Load module



K module
K module
NK2 module

<--->
<--->
<--->

NK2 module
NK4 module
NK4 module