If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > "CONNECT" failed using DB2 system:DSN running ODBC on z/OS, help !

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-22-06, 16:55
jsolis33 jsolis33 is offline
Registered User
 
Join Date: Feb 2002
Posts: 6
"CONNECT" failed using DB2 system:DSN running ODBC on z/OS, help !

I compiling/running an ODBC application on z/OS.

I call the following functions:

SQLSetConnectAttr.....
SQLAllocHandle(SQL_HANDLE_ENV,SQL_NULL_HANDLE,&hen v);
SQLAllocHandle(SQL_HANDLE_DBC, henv, &hdbc) ------> at this point I get error:

SQLSTATE: 58004
SQLCODE: -99999
MESSAGE: {DB2 FOR OS/390}{ODBC DRIVER} SQLSTATE=58004 ERRLOC=2:170:9
CAF "CONNECT" failed using DB2 systemSN
RC=0c and REASON=00f30006

Is there something I'm missing ?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On