473,406 Members | 2,816 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,406 software developers and data experts.

Program querying DAS for isntances/databases

I have a tool that's trying to locate DB2 instances via the DAS, but
apparently is not finding them, even though the IBM tools say taht the
DAS is up and running and BTW, here's the list of instances on the
server.

I managed to monitor the network traffic to see what is going on, and
spotted something that looks odd in the data stream. The tool attempts
to connect to the DAS (ome message goes out and there's a response),
then the second message goes out and this comes back:

00000 00 a3 00 00 00 00 00 00 53 51 4c 44 42 32 52 41 ........SQLDB2RA
00010 07 00 02 00 00 00 40 01 00 00 00 53 51 4c 43 41 ......@....SQLCA
00020 20 20 20 88 00 00 00 7b fc ff ff 2b 00 43 6f 72 ....{...+.Cor
00030 72 75 70 74 69 6f 6e 20 64 65 74 65 63 74 65 64 ruption detected
00040 20 69 6e 20 70 61 72 73 69 6e 67 20 74 68 65 20 in parsing the
00050 72 65 71 75 65 73 74 ff 00 20 20 20 20 20 20 20 request..
00060 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
00070 20 20 20 53 51 4c 45 52 41 41 53 00 00 00 00 00 SQLERAAS.....
00080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00090 00 00 00 20 20 20 20 20 20 20 20 20 20 20 20 20 ...

Where can I go to find a detailed description of the messages that are
being sent and received?

At first glance, it really looks as though the second outgoing message
is not correct. Alternate is that the DAS may have been changed subtly
to be black-and-white on messages.

Thanks in advance!

Nov 12 '05 #1
3 1175
byrocat wrote:
I have a tool that's trying to locate DB2 instances via the DAS, but
apparently is not finding them, even though the IBM tools say taht the
DAS is up and running and BTW, here's the list of instances on the
server.

I managed to monitor the network traffic to see what is going on, and
spotted something that looks odd in the data stream. The tool attempts
to connect to the DAS (ome message goes out and there's a response),
then the second message goes out and this comes back:

00000 00 a3 00 00 00 00 00 00 53 51 4c 44 42 32 52 41 ........SQLDB2RA
00010 07 00 02 00 00 00 40 01 00 00 00 53 51 4c 43 41 ......@....SQLCA
00020 20 20 20 88 00 00 00 7b fc ff ff 2b 00 43 6f 72 ....{...+.Cor
00030 72 75 70 74 69 6f 6e 20 64 65 74 65 63 74 65 64 ruption detected
00040 20 69 6e 20 70 61 72 73 69 6e 67 20 74 68 65 20 in parsing the
00050 72 65 71 75 65 73 74 ff 00 20 20 20 20 20 20 20 request..
00060 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
00070 20 20 20 53 51 4c 45 52 41 41 53 00 00 00 00 00 SQLERAAS.....
00080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00090 00 00 00 20 20 20 20 20 20 20 20 20 20 20 20 20 ...

Where can I go to find a detailed description of the messages that are
being sent and received?

At first glance, it really looks as though the second outgoing message
is not correct. Alternate is that the DAS may have been changed subtly
to be black-and-white on messages.

Thanks in advance!


It appears that you are using V7. Is it correct?

What API you are trying to use?

Proper way to list DB2 instances is to execute as a priviledged user (root on
Unix, System administrator on Windows) db2ilist.

Jan M. Nelken

Nov 12 '05 #2
I need to do this remotely, via port 523 using TCP/IP.

Nov 12 '05 #3
byrocat wrote:
I need to do this remotely, via port 523 using TCP/IP.


As far as I know - DAS does not have externalised API - hence you have to rely
on GUI interface with DISCOVERY SEARCH.

Jan M. Nelken
Nov 12 '05 #4

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

Similar topics

3
by: Henri | last post by:
Hello, I am quite new to ms-sql and I have a problem : I want to create an SQL request which would copy serveral records from a table in a given database to another table (with exactly the same...
1
by: Rick Brandt | last post by:
I know that a heterogeneous query joining tables from two different servers has performance penalties but is the same true when joining tables from two different databases on the same SQL Server...
2
by: Steve | last post by:
Hi; I am looking for suggestions about how to solve a problem using tsql. I have been asked to create a report concerning 4 tables. Each of the 4 tables is in its own database. The 4...
6
by: yoyo | last post by:
Mabey I'm missing something very basic, but I can't seem to get it to work. I'm trying to follow along in the sample programs that tells how to do that, but mine still doesn't work. In my...
5
by: Shane | last post by:
I wonder if someone has any ideas about the following. I am currently producing some reports for a manufacturing company who work with metal. A finished part can contain multiple sub-parts to...
6
by: Ober | last post by:
I'm having trouble with my security model, Application_Start, and accessing my database. My ASP.NET app is only going to be running in an intranet environment (not on the public Internet). ...
29
by: 63q2o4i02 | last post by:
Hi, I'm interested in using python to start writing a CAD program for electrical design. I just got done reading Steven Rubin's book, I've used "real" EDA tools, and I have an MSEE, so I know what...
5
by: sql_er | last post by:
Guys, I have an XML file which is 233MB in size. It was created by loading 6 tables from an sql server database into a dataset object and then writing out the contents from this dataset into an...
1
by: plmanikandan | last post by:
Hi, I'm having two databases in the name of n1,n2 having same design I want to query both the databases by giving the database name in query Databases N1 N2 Table(both database contains same...
2
by: runway27 | last post by:
i am building a registration page where a user register for a username. i am able to insert this into mysql. the situation is every time data is inserted into example table1 in mysql in database1 for...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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.