Output-host-id - Teradata Tools and Utilities

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

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Lake
Product
Teradata Tools and Utilities
Release Number
20.00
Publication Date
October 2023
Content Type
Programming Reference
Publication ID
B035-2417-103K
ft:locale
en-US
ft:lastEdition
2025-11-21
dita:mapPath
apo1695647516691.ditamap
dita:ditavalPath
obe1474387269547.ditaval
ft:sourceId
dita
dita:id
vfj1470443597526
Product Category
Teradata Tools and Utilities

Output-host-id is a two-byte field that specifies the host id for a database configuration of related resources. It is provided for diagnostic purposes, audit logs, and so forth.

In this language... The variable name for Output-host-id is...
COBOL DBCAREA-O-HOST-ID
PL/I O_HOST_ID
C, C++ o_host_id
IBM Assembler DBCOSILH
This routine... Does this for Output-host-id...
DBCHINI writes
DBCHCL writes (FET) associated with connect operation
Output-host-id is used by... To...
applications read.

Output-host-id is available in the DBCAREA when the application regains control (with return code zero) from calling DBCHCL for the first Fetch function 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.