OPEN call

The OPEN call is used to explicitly open a GSAM database.

Format

Read syntax diagramSkip visual syntax diagramOPENgsam pcbaibi/o area
  Call Name DB/DC DBCTL DCCTL DB Batch TM Batch
For GSAM: OPEN X X X X X

Parameters

gsam pcb
Specifies the GSAM PCB for the call. This parameter is an input and output parameter.
aib
Specifies the AIB 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 PCB name of a GSAM PCB.
AIBOALEN
I/O area length. This field must contain the length of the I/O area specified in the call list.
i/o area
Specifies the kind of data set you are opening. This parameter is an input parameter.

Usage

For more information, see the topic "Explicit Open and Close Calls to GSAM" in IMS Version 15.4 Application Programming.