Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

Default values of the DMS access methods

The table below provides an overview of the default values for the access methods in the DMS file system of an AccessParameter object that was generated with the getDefaultAccessParameter() method. The overview is structured according to the methods used for reading.

Method

SAM access method

ISAM access
method

UPAM access
method

getAccessMethod()

“SAM”

“ISAM”

“UPAM”

getFileSystem()

“DMS”

“DMS”

“DMS”

getRecordFormat()

RECORD_

FORMAT_

VARIABLE

RECORD_

FORMAT_

VARIABLE

RECORD_

FORMAT_

FIXED

getRecordLength()

0

0

0

getBlockSize()

0

0

-

getDuplicateKeyIndicator()

-

false

-

getPrimaryKeyLength()

-

8

-

getPrimaryKeyPosition()

-

0

-

getPrimarySpaceAllocation()

0

0

0

getSecondarySpaceAllocation()

-1

-1

-1

getBlockControl()

BLOCK-
CONTROL_
BY_PUBSET

BLOCK-
CONTROL_
BY_PUBSET

BLOCK-
CONTROL_
BY_PUBSET

getSharedUpdate()

-

false

false

getWaitMode()

-

THREAD_WAIT

THREAD_WAIT

Table 6: Default values of the DMS access methods

The value 0 with getRecordLength() designates the value “variable - only limited by block size” for the SAM and ISAM access methods and the “pubset-specific default” for UPAM.

The values 0 with getBlockSize(), 0 with getPrimarySpaceAllocation() and -1 with getSecondarySpaceAllocation() designate the “pubset-specific default”. If the file has been created, the current values are entered here.