17.10 - Element Type - Call-Level Interface Version 2

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

Product
Call-Level Interface Version 2
Release Number
17.10
Release Date
October 2021
Content Type
Programming Reference
Publication ID
B035-2418-061K
Language
English (United States)

When the Eyecatcher field contains 'IRX8' and the Level field is 1, the Element Type indicates the type of method:

0 – Inline method

1 – Pointer method

When the Eyecatcher field contains 'IRX8' and the Level field is 0, the Element Type not only indicates whether the parcel data is in the element (inline method) or simply addressed by the element (pointer method), but also specifies the parcel flavor.

If the left most bit is zero, then the parcel body is contained in the element itself; if this bit is one, then the parcel body is addressed by the element. The remainder of the field contains the parcel flavor.

The symbolic name depends upon both the Eyecatcher and Level fields:

Extension Head Eyecatcher Level Element Name Member Name
DBCAREAX DBCX - x_element/ xp_element x_elm_type
D8CAIRX IRX8 0 D8XILMNT d8xilTyp
D8CAIRX IRX8 1 D8XIELEM d8xieTyp

Any value in Element Type greater than 4095 gives a nonzero return code.

Any value in Element Type less than 4096 and not a valid parcel flavor will result in an error being returned from the Teradata server.

If the high-order bit is off in Element Type, the element data contains a parcel body. However, if the high-order bit is on in Element Type, the element data contains a pointer to the actual parcel body and the length of the pointed to parcel body.