The LOGON parameter enables the runtime definition of the logon string.
To avoid defining a password in a Teradata ARC script (for security reasons), use the LOGON parameter to define a logon string at execution time.
If the $LOGON token is specified in the LOGON statement, the logon string is replaced at execution.
Delimiters are mandatory.
(Teradata Wallet users) Because Teradata Wallet usernames and passwords contain special characters, you must use double quotation marks to log on. For example:
.logon bohrum/"$tdwallet(rsl_dbc_user)","$tdwallet(rls_dbc_pw)"
If LOGON is specified on the command line, as follows:
ARCMAIN LOGON=’TDP6/USER1,PWD1’
and the Teradata ARC script contains:
LOGON $LOGON;
then $LOGON is expanded to TPD6/USER1,PWD1 at runtime.