odbc

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Forget JobMonApp on this thread - it's irrelevant. Open a new thread for that or, better, Search for it.

Now check your uvodbc.config file for an entry for the DSN.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
kishoreramachandran
Participant
Posts: 88
Joined: Tue Nov 28, 2006 9:33 pm

Post by kishoreramachandran »

THE file has got the following entries

<NZSQL>
DBMSTYPE = ODBC
network = TCP/IP
service = uvserver
host = 8.1.50.40

<NZSQL_PASD_TST>
DBMSTYPE = ODBC
network = TCP/IP
service = uvserver
host = 8.1.50.40

the pull down menu shows the first one NZSQl but not the second one.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Which pull-down menu?

The pull-down menu in an ODBC stage only shows data sources from which you have imported at least one table definition. It is driven by the Repository table in which table definitions are stored.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Check it while importing odbc table definitions. Can you see it in the pull down menu there ?
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
kishoreramachandran
Participant
Posts: 88
Joined: Tue Nov 28, 2006 9:33 pm

Post by kishoreramachandran »

the data source name pull down menu shows only the first one that is nzsql but does not show me the other me at all.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

kishoreramachandran wrote:THE file has got the following entries
THE file where? There's one in your $DSHOME directory and one in each Project, which one is this? :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
kishoreramachandran
Participant
Posts: 88
Joined: Tue Nov 28, 2006 9:33 pm

Post by kishoreramachandran »

this is in /usr/local/Ascential/DataStage/DSEngine/uvodbc.config
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Have a peek at the one in your specific Project you are trying to Import from. Bet it only mentions the one you see in your 'pull down menu'. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
kishoreramachandran
Participant
Posts: 88
Joined: Tue Nov 28, 2006 9:33 pm

Post by kishoreramachandran »

what actually you want me to check
kishoreramachandran
Participant
Posts: 88
Joined: Tue Nov 28, 2006 9:33 pm

Post by kishoreramachandran »

what will the name of the file in the home directory
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Not the home directory, the project directory.

In the project directory the file you need to check is called uvodbc.config.

There is one in each project directory as well as the one in the DSEngine directory; the latter is a "catch all" in case there isn't one in the project directory.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

This file:

/usr/local/Ascential/DataStage/Projects/<yourprojectname>/uvodbc.config
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply