15.10 - APH-response-OK - Call-Level Interface Version 2

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

prodname
Call-Level Interface Version 2
vrm_release
15.10
category
Programming Reference
featnum
B035-2417-035K

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

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'

Note: 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.