473,473 Members | 1,875 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

documentation generator for DB2

Just a quick note to let you all know about a shareware app I wrote
called SqlSpec that will generate documentation for any DB2 8.2 (and
up) database.

In addition to DB2, it also supports SQL Server, Oracle, MySQL, Sybase
ASE, PostgreSQL, Analysis Server, and MS Access. This encompasses
pretty much 100% of the DBMS on the market today.

It's available here: http://www.elsasoft.org

There are samples here, including one for DB2: http://www.elsasoft.org/samples.htm

Thanks,
Jesse

Apr 3 '07 #1
10 3951
On 3 Apr, 07:04, "jezemine" <nos...@elsasoft.orgwrote:
Just a quick note to let you all know about a shareware app I wrote
called SqlSpec that will generate documentation for any DB2 8.2 (and
up) database.

In addition to DB2, it also supports SQL Server, Oracle, MySQL, Sybase
ASE, PostgreSQL, Analysis Server, and MS Access. This encompasses
pretty much 100% of the DBMS on the market today.

It's available here:http://www.elsasoft.org

There are samples here, including one for DB2:http://www.elsasoft.org/samples.htm

Thanks,
Jesse
The output looks nice, but I don't know how to connect to DB2 using
your tool.

It's asking for an OLEDB connection string (which is an unusual method
of connecting to DB2) and requires some setup. Is it not possible to
connect via ODBC?
Can you give an example as to what kind of OLEDB connection string
it's expecting?

Apr 3 '07 #2
On 3 Apr, 07:04, "jezemine" <nos...@elsasoft.orgwrote:
Just a quick note to let you all know about a shareware app I wrote
called SqlSpec that will generate documentation for any DB2 8.2 (and
up) database.

In addition to DB2, it also supports SQL Server, Oracle, MySQL, Sybase
ASE, PostgreSQL, Analysis Server, and MS Access. This encompasses
pretty much 100% of the DBMS on the market today.

It's available here:http://www.elsasoft.org

There are samples here, including one for DB2:http://www.elsasoft.org/samples.htm

Thanks,
Jesse
Ok, It seems that the OLEDB provider is all set up for me in DB2 9.
I've tried it with
provider=IBMDADB2;DSN=<database>;UID=<username>;PW D=<password>;Default
Schema=<schema>.

It's got to the "Fetch tables" bit and my CPU on my windows box has
been maxed out at 100% for the last 5 minutes. I'm not convinced that
the Default Schema bit is working. How can I tell? The reason why I
say that is that I have a lot of schemas on my dev box but not a lot
of tables in the schema that I've pointed it to.

Ta,
J

Apr 3 '07 #3
On 3 Apr, 13:27, james_...@hotmail.com wrote:
On 3 Apr, 07:04, "jezemine" <nos...@elsasoft.orgwrote:
Just a quick note to let you all know about a shareware app I wrote
called SqlSpec that will generate documentation for any DB2 8.2 (and
up) database.
In addition to DB2, it also supports SQL Server, Oracle, MySQL, Sybase
ASE, PostgreSQL, Analysis Server, and MS Access. This encompasses
pretty much 100% of the DBMS on the market today.
It's available here:http://www.elsasoft.org
There are samples here, including one for DB2:http://www.elsasoft.org/samples.htm
Thanks,
Jesse

Ok, It seems that the OLEDB provider is all set up for me in DB2 9.
I've tried it with
provider=IBMDADB2;DSN=<database>;UID=<username>;PW D=<password>;Default
Schema=<schema>.

It's got to the "Fetch tables" bit and my CPU on my windows box has
been maxed out at 100% for the last 5 minutes. I'm not convinced that
the Default Schema bit is working. How can I tell? The reason why I
say that is that I have a lot of schemas on my dev box but not a lot
of tables in the schema that I've pointed it to.

Ta,
J
Ok, I like your tool apart from the fact that I don't seem to be able
to select a specific schema which is a major drawback. Looking at the
sql which the tool is using to query the system catalog it doesn't
seem to be schema specific. This is a pity. I'd buy it otherwise.

Apr 3 '07 #4
On Apr 3, 5:46 am, james_...@hotmail.com wrote:
Ok, I like your tool apart from the fact that I don't seem to be able
to select a specific schema which is a major drawback. Looking at the
sql which the tool is using to query the system catalog it doesn't
seem to be schema specific. This is a pity. I'd buy it otherwise.
Thanks for the feedback - I'll add this feature for DB2 and post back
here when it's done.

Apr 3 '07 #5
jezemine wrote:
Just a quick note to let you all know about a shareware app I wrote
called SqlSpec that will generate documentation for any DB2 8.2 (and
up) database.
My first attempt:

4/3/2007 13:46:12
Executing query to:
provider=IBMDADB2;DSN=SAMPLE;UID=xxxxxxxx;PWD=yyyy yyyy;DefaultSchema=zzzzzzzz
---------------------------------------------------------------
Error occurred. If you think this error is caused by a bug, copy
everthing you see here and send it to sq*****@elsasoft.org. If
you can, also attach a SQL script to generate the database that
reproduces this bug, it will help us reproduce the issue. Thanks!
SqlSpec v3.6.0
4/3/2007 13:46:13
---------------------------------------------------------------
Could not load file or assembly 'System.EnterpriseServices.Wrapper.dll'
or one of its dependencies. The system cannot find the file specified.

System.IO.FileNotFoundException

System.EnterpriseServices

at System.EnterpriseServices.ContextUtil.get_IsInTran saction()
at System.Data.Common.ADP.IsSysTxEqualSysEsTransactio n()
at System.Data.Common.ADP.NeedManualEnlistment()
at System.Data.OleDb.OleDbConnection.Open()
at af.c()
at ad.b(String A_0)
at ad.v()

---------------------------------------------------------------
Could not load file or assembly 'System.EnterpriseServices.Wrapper.dll'
or one of its dependencies. The system cannot find the file specified.
Jan M. Nelken
Apr 3 '07 #6
On Apr 3, 10:48 am, "Jan M. Nelken" <Unknown.U...@Invalid.Domain>
wrote:
jezemine wrote:
Just a quick note to let you all know about a shareware app I wrote
called SqlSpec that will generate documentation for any DB2 8.2 (and
up) database.

My first attempt:

4/3/2007 13:46:12
Executing query to:
provider=IBMDADB2;DSN=SAMPLE;UID=xxxxxxxx;PWD=yyyy yyyy;DefaultSchema=zzzzzzzz
---------------------------------------------------------------
Error occurred. If you think this error is caused by a bug, copy
everthing you see here and send it to sqls...@elsasoft.org. If
you can, also attach a SQL script to generate the database that
reproduces this bug, it will help us reproduce the issue. Thanks!
SqlSpec v3.6.0
4/3/2007 13:46:13
---------------------------------------------------------------
Could not load file or assembly 'System.EnterpriseServices.Wrapper.dll'
or one of its dependencies. The system cannot find the file specified.

System.IO.FileNotFoundException

System.EnterpriseServices

at System.EnterpriseServices.ContextUtil.get_IsInTran saction()
at System.Data.Common.ADP.IsSysTxEqualSysEsTransactio n()
at System.Data.Common.ADP.NeedManualEnlistment()
at System.Data.OleDb.OleDbConnection.Open()
at af.c()
at ad.b(String A_0)
at ad.v()

---------------------------------------------------------------
Could not load file or assembly 'System.EnterpriseServices.Wrapper.dll'
or one of its dependencies. The system cannot find the file specified.

Jan M. Nelken
Can you try the solution posted in this thread:

http://forums.microsoft.com/MSDN/Sho...88468&SiteID=1

It looks like your installation of the .NET framework may be messed up
somehow, as that dll is part of the framework.

Apr 3 '07 #7
btw, there are examples for invoking SqlSpec against DB2 here:

http://www.elsasoft.org/sqlspec.htm#_Toc163125354
Apr 4 '07 #8
Jesse wrote:
>
Can you try the solution posted in this thread:

http://forums.microsoft.com/MSDN/Sho...88468&SiteID=1

It looks like your installation of the .NET framework may be messed up
somehow, as that dll is part of the framework.
You were correct - uninstalling and reinstalling .Net cured this problem.

What you mean by Index size of -4 kb?

Jan M. Nelken
Apr 4 '07 #9
James,

I have implemented a new feature that allows you to limit the schemas
documented by SqlSpec on the command line, using the /DB2S switch.
Here's an example:

::
:: document only objects in the JESSE and JAMES schemas
:: just provide a list of the schemas you want to document, separated
by colons.
::
Sqlspec.exe /DB2S JESSE:JAMES /DB2
"Provider=IBMDADB2;Database=SAMPLE;Hostname=SUMMER ;Protocol=TCPIP;Port=50000;Uid=username;Pwd=passwo rd"

So far this feature is only available in the cmd line interface, not
in the GUI. You can try out the new build (3.6.1) here:
http://www.elsasoft.org/sqlspec.zip

Let me know how it goes - I'm happy to answer any other questions or
comments you have.

Jesse

On Apr 3, 10:11 am, "jezemine" <nos...@elsasoft.orgwrote:
On Apr 3, 5:46 am, james_...@hotmail.com wrote:
Ok, I like your tool apart from the fact that I don't seem to be able
to select a specific schema which is a major drawback. Looking at the
sql which the tool is using to query the system catalog it doesn't
seem to be schema specific. This is a pity. I'd buy it otherwise.

Thanks for the feedback - I'll add this feature for DB2 and post back
here when it's done.

Apr 4 '07 #10
On Apr 3, 9:59 pm, "Jan M. Nelken" <Unknown.U...@Invalid.Domain>
wrote:
Jesse wrote:
Can you try the solution posted in this thread:
http://forums.microsoft.com/MSDN/Sho...88468&SiteID=1
It looks like your installation of the .NET framework may be messed up
somehow, as that dll is part of the framework.

You were correct - uninstalling and reinstalling .Net cured this problem.

What you mean by Index size of -4 kb?

Jan M. Nelken
That happens if statistics haven't been gathered on the index, because
SYSCAT.INDEXES.NLEAF returns -1 in that case. I overlooked that
little issue! thanks for pointing it out, I'll fix it in the next
drop.

Jesse

Apr 4 '07 #11

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

Similar topics

1
by: Adrien Di Mascio | last post by:
Hi all, While reading the email module documentation, I found an error in a small example given for the as_string() method of the Message class: Here is the given code : (URL :...
2
by: Steven Quail | last post by:
Hi to all, I have just found the XML documentation option in VS.net which generates a HTML page of the XML tags in a project. What I would like to know is if there is an option or a way of...
0
by: Terry Hancock | last post by:
I've been trying to use "happydoc" to document a source tree that I'm working on. It does pretty much what I want, except: Version 2.1: Creates a weird directory structure for the HTML pages...
11
by: barcaroller | last post by:
I'm looking for a free software documentation tool that works equally well with C and C++. The ones I have found so far with Google are: - Doxygen - Robodoc - Natural Docs There probably...
1
by: Bob Hanson | last post by:
Hello All, Any ideas/suggestions for documentation authoring tools that can be used for non-ASP.Net projects using VB.Net 2.0 (VS2005)? Thanks in advance :) Bob Hanson *** Sent via...
2
by: Tim_Mac | last post by:
hi, i have VS2005 professional, and i would like to generate a complete documentation reference for all the classes in my web project. i would have thought this was as simple as a button or build...
5
by: Bob Altman | last post by:
I thought I read somewhere in the MS documentation that XML documentation is compiled in C++, but the C++ code editor obviously doesn't do anything interesting when I enter "///". What's the deal...
4
by: Torsten Robitzki | last post by:
Hi, I'm searching for a documentation system like JavaDoc or DoxyGen that is capable to document JavaScript sources. Sure google leads me to some tools, but without recommendations from real...
8
by: Dirk Reske | last post by:
Hello, how can I generate the code documentation out of my xml comments? before .net 2.0 I uses NDoc...by they don't get it work with generics til now.... thanks! Dirk
5
by: Bruno Neves Pires Silva | last post by:
Hello, programmers. Does Anyone know about any documentation generator for C++, like ghostdoc for c# ? Thanks in advance.
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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...
1
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.