CLSE call

The close (CLSE) call is used to explicitly close a GSAM database.

For more information on GSAM, see the topic "Processing GSAM Databases" in IMS Version 15.6 Application Programming.

Format

Read syntax diagramSkip visual syntax diagramCLSEgsam pcbaib
  Call Name DB/DC DBCTL DCCTL DB Batch TM Batch
For GSAM: CLSE 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 length. 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 name of a GSAM PCB.

Usage

For information on using CLSE, see the topic "Explicit Open and Close Calls to GSAM" in IMS Version 15.6 Application Programming.