UserId and password in .odbc.ini

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
zulfi123786
Premium Member
Premium Member
Posts: 730
Joined: Tue Nov 04, 2008 10:14 am
Location: Bangalore

UserId and password in .odbc.ini

Post by zulfi123786 »

Hi

Below is a part of .odbc.ini

Code: Select all

 55  [Informix]
    56  Driver=/apps/ETL/IS/8.5/Server/branded_odbc/lib/VMinf24.so
    57  Description=DataDirect Informix driver
    58  Database=db
    59  LogonID=uid
    60  Password=pwd
    61  ServerName=informixserver
    62  HostName=informixhost
    63  Service=online
    64  Protocol=onsoctcp
    65  EnableInsertCursors=0
    66  GetDBListFromInformix=0
    67  CursorBehavior=0
    68  CancelDetectInterval=0
    69  TrimBlankFromIndexName=1
    70  ApplicationUsingThreads=1
From the above LogonID and Password are invalid values, Is there any special meaning for the keywords uid and pwd ? are these overriden by values provided in the ODBC stage when it actually connects?

Couldnt find full format description for .odbc.ini file, If there is any documentation could some please help in finding it ?
- Zulfi
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Re: UserId and password in .odbc.ini

Post by chulett »

zulfi123786 wrote:are these overriden by values provided in the ODBC stage when it actually connects?
Yes.
-craig

"You can never have too many knives" -- Logan Nine Fingers
priyadarshikunal
Premium Member
Premium Member
Posts: 1735
Joined: Thu Mar 01, 2007 5:44 am
Location: Troy, MI

Re: UserId and password in .odbc.ini

Post by priyadarshikunal »

zulfi123786 wrote:From the above LogonID and Password are invalid values, Is there any special meaning for the keywords uid and pwd ?
No, You can leave them blank.
zulfi123786 wrote:Couldnt find full format description for .odbc.ini file, If there is any documentation could some please help in finding it ?
Check for the option is ODBC configuration of that database on that vendor's site, like for SQL server on Microsoft's site for effect of those options Or search for DataDirect odbc configuration for that particular database.
Priyadarshi Kunal

Genius may have its limitations, but stupidity is not thus handicapped. :wink:
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

I never put password in .odbc.ini, and rarely username.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply