Output Host Id - Call-Level Interface Version 2

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

Product
Call-Level Interface Version 2
Release Number
15.00
Language
English (United States)
Last Update
2018-09-28
dita:id
B035-2417
lifecycle
previous
Product Category
Teradata Tools and Utilities

Output Host Id

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

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.