16.20 - APH-response-OK - Teradata Tools and Utilities

Teradata® Call-Level Interface Version 2 Reference for Mainframe-Attached Systems

prodname
Teradata Tools and Utilities
vrm_release
16.20
created_date
September 2019
category
Programming Reference
featnum
B035-2417-108K

APH-response-OK specifies whether response parcels may use the alternate parcel header, allowing response parcels up to 2,147,483,647 bytes. The DBCAREA Maximum-parcel option should also be specified as 'H'. Applications that use buffer-mode to fetch responses must be changed to properly handle such alternate parcel headers, then specify this option to indicate such support exists. Other applications require no changes except the specification of this option. If a response parcel exceeds 65535 bytes but this option is not specified, error code 3177 will be returned.

In this language... The variable name for APH-response-OK is...
COBOL DBRIAPH
PL/I DBRIAPH
C, C++ dbriAPH
IBM Assembler DBRIAPH
This routine... Does this for APH-response-OK...
DBCHINI writes
DBCHCL reads (RSUP; IRQ; IWPF)
APH-response-OK is used by... To...
applications write.
If... Then set APH-response-OK to...
response parcels may not use alternate parcel headers 'N'
response parcels may use alternate parcel headers 'Y'
For new applications, APH-response-OK should always be set to ‘Y‘.

Mnemonics should be used for the codes. Mnemonics are provided in the language definition file for the DBCAREA.