SYNC call
The Synchronization Point (SYNC) call
is used to release resources that IMS has
locked for the application program.
The ODBA interface does not support this call.
Format
| Call Name | DB/DC | DBCTL | DCCTL | DB Batch | TM Batch |
|---|---|---|---|---|---|
| SYNC | X | X | X |
Parameters
- i/o pcb
- Specifies the IO 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, IOPCBbbb.
Usage
SYNC commits
the changes your program has made to the database, and establishes
places in your program from which you can restart, if your program
terminates abnormally.
Restrictions
The SYNC call
is valid only in non-message driven BMPs; you cannot issue a SYNC call
from an CPI-C driven application program.
For important considerations
about using the SYNC call, see IMS
Version 15 Database Administration.
