Output Host Id - Call-Level Interface Version 2

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

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Call-Level Interface Version 2
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2023-06-12
dita:mapPath
zws1641280432166.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
B035-2418
Product Category
Teradata Tools and Utilities

Usage Notes

The Output Host Id field specifies the host id for the set of IFPs or COPs. In effect, it identifies the logical LAN. It is provided for diagnostic purposes, audit logs, and so on.

Language Variable Name
COBOL: DBCAREA-O-HOST-ID
C: DBCAREA.H: o_host_id
Routine Action Taken
DBCHINI: writes
DBCHCL: writes (FET associated with connect operation)
Used by Action Taken
application program reads

Output Host Id is available in the DBCAREA when the application program regains control (with return code zero) from calling DBCHCL for the first Fetch function that is associated with the connect operation.

Output Host Id is a two-byte (16 bit) field. The ten least significant bits are the host number which is in unsigned binary.