RLSE call
The Release Locks (RLSE
) call is used
to release all locks held for unmodified data.
Format
Call Name | DB/DC | DBCTL | DCCTL | DB Batch | TM Batch | |
---|---|---|---|---|---|---|
For Full-Function: | RLSE | X | X | X | ||
For DEDB: | RLSE | X | X | X |
Parameters
- db pcb
- Specifies the DB 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 name of a DB PCB.
Usage
For Fast Path databases, use the RLSE call to release all locks held for unmodified data that are owned by an application. For full-function databases, use the RLSE call to release the locks held by the DB PCB that is referenced in the call. If the lock is protecting a resource that has been updated, the lock will not be released. After the RLSE call, all database position information is lost.
Restrictions
The RLSE call has to be issued using a DB PCB. The PCB cannot be an I/O PCB or an MSDB PCB.