15.10 - Using COBOL Structures as Output Host Variables - Preprocessor2 for Embedded SQL

Teradata Preprocessor2 for Embedded SQL Programmer Guide

prodname
Preprocessor2 for Embedded SQL
vrm_release
15.10
category
Programming Reference
featnum
B035-2446-035K

Using COBOL host structures to receive data from the Teradata Database is useful when retrieving many columns.

A host structure is valid to receive data only if all fields of that structure are defined to PP2. This does not preclude the use of individual fields of a structure, as long as the fields follow proper PP2 definition rules.