Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

FASTPAM - Fast Primary Access Method

FASTPAM (Fast Primary Access Method) is a block-access method for NK4 disk files. It is comparable with UPAM in terms of functionality, but is far superior to it in terms of performance, especially with multiprocessor systems.

With FASTPAM, I/O operations can be directly performed in data spaces. I/O area pools are placed in data spaces for this purpose, but these I/O area pools can only be created in non-resident memory.

The FASTPAM access method uses a special OPEN.

The FASTPAM interface is an SVC interface. Jobs are formulated by means of a parameter list, and return messages for results are supplied via a return code in the parameter list (not via exits).

Macros for the FASTPAM access method

The FASTPAM access method uses the following two macros:

Macro

Function

FPAMSRV

Management functions:

  • prepare system environment (FASTPAM environment)

  • prepare I/O areas (FASTPAM IO area pool)

  • open file for processing

  • close file opened with FPAMSRV

  • disable system environment (FASTPAM environment)

  • disable I/O areas (FASTPAM IO area pool)

FPAMACC

Access functions (formulate file accesses):

  • synchronous reading and writing of logical blocks

  • asynchronous reading and writing of logical blocks

  • waiting for the end of asynchronous I/O jobs

  • reporting the end of asynchronous I/O jobs