473,397 Members | 1,960 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

db2 api sqlesetc() not connecting to catalog node

Hi,

I am working with db2 8.1 ese instance with two physical nodes on AIX
5.1 boxes. I want to get history of the dropped tables from any of the
nodes. I tried to use db2 api function sqlesetc(). My code is as
below:
struct sqle_conn_setting connSetting[3] ;
connSetting[0].type = SQL_ATTACH_NODE ;
connSetting[0].value = SQL_CONN_CATALOG_NODE;
connSetting[1].type = SQL_CONNECT_NODE ;
connSetting[1].value = SQL_CONN_CATALOG_NODE;
// disconnect from node on commit (implicit when connect reset)
connSetting[2].type = SQL_DISCONNECT ;
connSetting[2].value = SQL_DISCONNECT_AUTO ;
sqlesetc(&connSetting[0], 2,&sqlca);

API documentation for 'SQLE-CONN-SETTING' says that, if you pass const
value 'SQL_CONN_CATALOG_NODE' (= 65535), sqlesetc() api function
should connect to catalog node. But it is giving me following error
message:
"SQL4917N Element "SQL_ATTACH_NODE value" in the option array is not
valid."

Please let me know the solution if anyone of you have faced similar
problem.

Thanks and Regards,

Sandeep.
Nov 12 '05 #1
0 1561

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Brian Piotrowski | last post by:
Hi All, I almost have the connection working for my connection to the AS/400 from an ASP page. However, I have an error appearing, and I'm not sure how to fix it. The code I have for...
4
by: Uthuras | last post by:
Greetings All, I have situation as such that I need to access the DB2 database reside on a Solaris box. I have DB2 6.1 on my Solaris box. However, my webserver is on Redhat 7.2. Now, I want to...
3
by: maricel | last post by:
Could somebody confirm the behavior of UNCATALOG & CATALOG command based on the following situation: There are two NODES on DB2 UDB v8.1, MYNODEA & MYNODEB. MYNODEA has two databases proda &...
6
by: Chuck | last post by:
What's the difference between using "catalog node" and catalog admin node"? -- Chuck Remove "_nospam" to reply by email
3
by: stabbert | last post by:
We are running DB2 UDB 8.1.6 in a partitioned environment where we have 8 physical nodes. We have a process that remotely connects to each individual node and loads some data. By setting the...
12
by: Ann Marinas | last post by:
Hi all, I would like to ask for some help regarding separating the asp.net webserver and the sql server. I have created an asp.net application for a certain company. Initially, we installed...
6
by: Treasure NextDoor | last post by:
Hey, I"m just getting into DB2 and I'm not getting the node name alias thing. Are they just arbitrary? Something used for the purposes of easy human recognition? On the server side, it seems...
1
by: DianaB | last post by:
Hello, I tried to do the catalog local node command to catalog a node from one instance to another. i.e. I ran the command db2 catalog local node REPORTDB intance reportdb The command...
1
by: Dan van Ginhoven | last post by:
Hi! I had a node cataloged with an explict IP-address. I tried to change to a fully qualified name but: db2 catalog tcpip node mynode remote db2server.mycompany.biz server 50001 The catalog...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.