Logon Mechanism Data Pointer - Call-Level Interface Version 2

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

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Call-Level Interface Version 2
Release Number
20.00
Published
January 2024
ft:locale
en-US
ft:lastEdition
2024-11-15
dita:mapPath
bmn1691484839905.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
fvz1470444150352
lifecycle
latest
Product Category
Teradata Tools and Utilities

Usage Notes

If additional data is required by the specified logmech_name, logmech_data_ptr addresses that data, specified in the session character set.

If a logmech_name is not specified, the value will be ignored.

Currently, the maximum length is 65535 bytes.

Language Variable Name
COBOL DBCNIMDP
C logmech_data_ptr
Routine Action Taken
DBCHINI writes
DBCHCL reads (CON)
Used by Action Taken
application program writes

Currently, the maximum meaningful length is 256 characters.

Teradata Wallet Support

Logmech data values can contain Teradata Wallet keywords. Teradata Wallet supports the secure storage of passwords, ids, and other logon string information on the client's computer. For an introduction to Teradata Wallet, refer to “Introducing Teradata Wallet”, and KB0020937, “How To Use tdwallet.”

For detailed information on using Teradata Wallet, see the latest version of Teradata Vantage™ - Analytics Database Security Administration, B035-1100.

For detailed information on Teradata Wallet installation and setup options, see the Teradata Tools and Utilities Installation Guide for the appropriate operating system.

The Teradata Wallet token used by CLI is $tdwallet(<item name>), where item name is the name given when adding an entry to Teradata Wallet. CLI replaces the token with the value obtained from Teradata Wallet. For example, if your logon mechanism data contains the following:

client_secret=$tdwallet(mysecret)

The string “$tdwallet(mysecret)” will be replaced with the value obtained from Teradata Wallet.