1.2.5.6.5 Result in AIB:
Return code and Reason code is aligned to IBM's return code and
reason code description. For "DBQUERYb
", The database
availability status is in the IOPCB status.
' bb'
(two blanks): The call is successful and all databases are available.
'BJ'
: No DB PCB exists in the PSB. Or None of the databases in the PSB are available, or no PCBs exist in the PSB. All database PCBs (excluding GSAM) contain an NA status code as the result of processing the INQY DBQUERY call.
'BK'
At least one of the databases in the PSB is not available or availability is limited. At least one database PCB contains an NA or NU status code as the result of processing the INQY DBQUERY call.
In IMS, after the "DBQUERYb"
call, status codes in
each DB PCB should not be used to check DB status.
Parent topic: INQY