If you cannot log on to the Teradata Database from a CLI application, try to log on from Basic Teradata Query (BTEQ). If you can log on from BTEQ, check the CLI application for errors.