Omitting user name and password from login scripts

I have some lengthy SQL scripts that I wish to run in BTEQ, and I wish to automate the process as much as possible.  I would prefer to have a login screen that logs me in and then automatically runs my script, rather thanforcing me to build a login script that includes the user name and password.  

In short, I do not wish to compromise security in the quest for greater convenience.  Your suggestions are most welcome.

Thanks, ~Peter Ferber
PeterFrbWeb development, Java scripting, Python TrainingAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

billmercerCommented:
I'm no expert with TeraData, but if you're running on Windows, there's a terrific automation tool you could use to automate just about any Windows user interface. It's called AutoIt, and it uses a very easy vb-like scripting language to create applets that can interact with applications, processes, files, etc. Scripts can be run directly, or compiled into executables. It's powerful, easy to use, and completely free.

 http://www.autoitscript.com
0
assusCommented:
See Chapter 2 (Logon Security) in Security Administration on http://www.teradataforum.com/teradata_pdf/b035-1100-115a.pdf. It contains some information about the possibility to log on without using a password.
0
ispalenyCommented:
BTEQ script can be run as:

bteq<script.bteq>script.log

Put the following code in the beginning of your bteq script:

.SET LOGONPROMPT ON;
.LOGON yourserver;

But in this case BTEQ tries to use NULL values for user and password at first. Prepare for a short delay before logon screen is displayed.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
PeterFrbWeb development, Java scripting, Python TrainingAuthor Commented:
This is how I ended up using the application.  Sorry for the delay in assigning points.
~Peter
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Enterprise Software

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.