The LOGON command establishes a Teradata SQL session between Teradata TPump and the database. Use it to specify the LOGON string for connecting sessions required by subsequent functions. The ACCEPT and SET commands are valid commands preceding LOGON and LOGTABLE commands.
To prevent the password from appearing in the script, use Teradata Wallet. See Teradata Vantage™ - Advanced SQL Engine Security Administration, B035-1100 and the appropriate Teradata Tools and Utilities installation guide for more information.