ODBC connection to Foxpro
Moderators: chulett, rschirm, roy
ODBC connection to Foxpro
Can some one help me with connecting FoxPro dbf files on windows server from DataStage on UNIX with ODBC stage
and work with .odbc.ini and uvodbc.config
and work with .odbc.ini and uvodbc.config
Re: ODBC connection to Foxpro
Hi,
I was able to successfully read data from sample file on local machine.
But not able to connect to remote server file location.
Before I try connecting Windows server, I am trying to connect to another UNIX box.
Code for .odbc.ini:
[dBase]
QEWSD=39906
Driver=/opt/IBM/InformationServer/Server/branded_odbc/lib/VMdbf22.so
Description=DataDirect dBaseFile(*.dbf) Driver
ApplicationUsingThreads=1
CacheSize=4
CreateType=dBASE5
Database=/IP/User_Name/Passwd/tmp/Test_ODBC IntlSort=0
Locking=RECORD
UseLongNames=0
UseLongQualifiers=
DataFileExtension=DBF
ExtensionCase=UPPER
FileOpenCache=0
LockCompatibility=dBASE
Please let me know the highlighted is correct
I was able to successfully read data from sample file on local machine.
But not able to connect to remote server file location.
Before I try connecting Windows server, I am trying to connect to another UNIX box.
Code for .odbc.ini:
[dBase]
QEWSD=39906
Driver=/opt/IBM/InformationServer/Server/branded_odbc/lib/VMdbf22.so
Description=DataDirect dBaseFile(*.dbf) Driver
ApplicationUsingThreads=1
CacheSize=4
CreateType=dBASE5
Database=/IP/User_Name/Passwd/tmp/Test_ODBC IntlSort=0
Locking=RECORD
UseLongNames=0
UseLongQualifiers=
DataFileExtension=DBF
ExtensionCase=UPPER
FileOpenCache=0
LockCompatibility=dBASE
Please let me know the highlighted is correct
I don't know FoxPro but I sincerely doubt that is correct. Database is just typically the name itself and shouldn't contain any user/password info if that's what you are doing - that would come as part of the stage setup, the credentials needed to make that connection at runtime.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
Access .dbf files through DataStage
How can I read the .dbf files even though it's placed on DataStage server? Don't I need to create DSN? If so, how? Please suggest.
Re: ODBC connection to Foxpro
Hi - Can you please suggest how read .dbf files placed on local machine thru datastage? I am unable read the file through ODBC because we are not going to deal with Foxpro database. Only .dbf files would be transferred to DataStage server and we need to read them.
Please help. It's urgent!
Please help. It's urgent!
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: