There are times when both client and database sources must be checked.
For example, on a call to DBCHCL for the Fetch function, a return code of zero indicates that the client software has set a pointer to information in the response buffer. But not until the information is examined does the application program know what the database “has to say.” The return code may be zero and the parcel successfully pointed to may be a Failure parcel.