CLIv2 constructs the correct parcel sequences to the Teradata Database software based on the information supplied in the DBCAREA. The application should only be concerned with the response parcels returned from the Teradata Database through CLIv2.
The following table explains parcel return sequences for various combinations of the DBCAREA Connect-Type and Return-code fields.
Connect -type | Return-code field is... | And... | Then... |
---|---|---|---|
R | 33 | code is 33 at the time the Fetch function is issued for the connect request | the response parcels do not have to be scanned. |
R | 0 | the parcel returned is one of the following:
|
|
C | non-zero | the response parcels do not have to be scanned. | |
C | 0 | there is a problem establishing the connection | the parcel returned will be one of the following:
|
C | 0 | the connection is successfully established | the parcels returned will be both of the following:
|