Using the ASAM services through GSAM replacement
If an IMS program uses a program option member that contains any data set option members specifying sequential interception, local VSAM access, or remote VSAM access, AR/CTL forces the use of GSAM replacement.
To use GSAM replacement, the application program issues IMS format GSAM calls. These calls are identical to IMS GSAM calls; if the program already uses GSAM calls, no change is necessary.
The following table summarizes information about the IMS format calls that an IMS or IMS compatible application program can issue to request ASAM support.
GSAM replacement ASAM call summary
Explicitly close an ASAM data set.
Retrieve the next sequential record from an ASAM data set.
Retrieve a unique record from an ASAM data set, as identified by the RSA.
Insert a segment in an ASAM data set.
Explicitly open an ASAM data set.
This section contains the following topics:
- Entry and return1
- Call function codes1
- OPEN call
- GN call
- GU call
- ISRT call
- CLSE call
- ASAM I/O area
- ASAM PCB mask
- Record search arguments