APSB call

The Allocate PSB (APSB) calls are used to allocate a PSB for an ODBA application.

Format

Figure 0.
Read syntax diagramSkip visual syntax diagramAPSBaib
Call Name DB/DC IMS DB DCCTL DB Batch TM Batch
APSB X X      

Parameters

aib
Specifies the application interface block (AIB) that is used for the call. This parameter is an input and output parameter.

These fields must be initialized in the AIB:

AIBID
Eye catcher. This 8-byte field must contain DFSAIBbb.
AIBLEN
AIB lengths. This field must contain the actual length of the AIB that the application program obtained.
AIBRSNM1
Resource name. This 8-byte, left-justified field must contain the PSB name.
AIBRSNM2
This is the 4-character ID of ODBA startup table representing the target IMS of the APSB.

Usage

The ODBA application must load or be link edited with the ODBA application interface AERTDLI.

The APSB call must be issued prior to any DLI calls.

The APSB call uses the AIB to allocate a PSB for ODBA application programs.

z/OS® Resource Recovery Services (RRS) must be active at the time of the APSB call. If RRS is not active, the APSB call will fail and the application will receive:
AIBRETRN = X'00000108'
AIBREASN = X'00000548'