INIT call: format for refreshing status code information
Application programs using the DL/I CALL interface can access the PCB status codes directly.
You can refresh these status codes using the INIT call as
follows:
CALL 'CBLTDLI' USING INIT,i/o pcb,i/o_area
where
i/o_area
contains a string in the format
LLZZcharacter_string.
- LL is a halfword containing the length of the character_string including LLZZ.
- ZZ contains binary zeros
- character_string contains DBQUERY.
The data availability status codes used in this context are:
- (blanks), which means that all of the databases are available.
- NA, which means that at least one of the databases that can be accessed using this PCB is unavailable.
- NU, which means that at least one of the databases that can be updated using this PCB is unavailable for update.