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.