INIT call: format for accepting status codes
CALL 'CBLTDLI' USING INIT,i/o pcb,i/o_area
- LL is a halfword containing the length of the character_string including LLZZ
- ZZ contains binary zeros
- Character_string contains STATUSGROUPA.
If you have used ACCEPT STATUSGROUP, and a DL/I request tries to access a database or a DEDB area that is not available after PSB schedule, DBCTL returns a status code instead of abending the transaction. If you have not used ACCEPT STATUSGROUP, the transaction will be abnormally terminated with ADCI if it tries to access unavailable data. (See Summary of DBCTL abends and return codes for details of accompanying return codes.)
- (blanks), which means that the request completed successfully.
- BA, which means that the request could not be completed because a database was not available. In this case, only the updates done for the current DL/I call are backed out.
- BB, which means that the request could not be completed because a database was not available. In this case, all DL/I updates are backed out to the last commit point.
- BC, which means that the request could not be completed because of a deadlock.
See IMS: Application programming for EXEC DLI or IMS Application programming: DL/I calls reference s for programming information on status codes.
Although a PSB can contain PCBs for GSAM and MSDB databases, and the PSB can be scheduled, programs using DBCTL (or any other kind of CICS-DL/I program) cannot access those GSAM or MSDB databases online from CICS® . Access to such databases is by means of batch and BMPs only. See I/O PCB for information on the option SCHD, which you can use to state whether you require an input/output PCB (I/O PCB).