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

DCLGEN on a PC

I have a memory lapse (not the first!) and could use some help.
I have DB2 V7.1 on my PC plus VisualAge Cobol V2.2.
There is a facility in one of these products which produces a COBOL
copybook from a DB2 table but i cannot remember its name or how
accessed.
It is the equivalent of DCLGEN on the mainframe except this PC feature
doesn't show the DB2 statements.
Can anybody point me to this please/thanks.
Nov 12 '05 #1
8 4012
gh****@sympatico.ca wrote:
I have a memory lapse (not the first!) and could use some help.
I have DB2 V7.1 on my PC plus VisualAge Cobol V2.2.
There is a facility in one of these products which produces a COBOL
copybook from a DB2 table but i cannot remember its name or how
accessed.
It is the equivalent of DCLGEN on the mainframe except this PC feature
doesn't show the DB2 statements.
Can anybody point me to this please/thanks.


What happened to the Art of Using Command Line?
Searching for file name with this pattern *DCLG*:

dir *dclg* /s

would reveal that DB2 installed tool DB2CLGN.EXE in your sqllib\bin
subdirectory. Perhaps this is the tool you are looking for?

Jan M. Nelken
Nov 12 '05 #2
"Jan M. Nelken" <Un**********@Invalid.Domain> wrote in message:
What happened to the Art of Using Command Line?
Searching for file name with this pattern *DCLG*:

dir *dclg* /s

would reveal that DB2 installed tool DB2CLGN.EXE in your sqllib\bin
subdirectory. Perhaps this is the tool you are looking for?


Jan, lighten up a few notches. It isn't instantly obvious that a
database port to windows would retain as many command-line utilities
as db2 has. Plus, 'command line' in mvs, tso, and roscoe is a
slightly different beast than on dos or unix.

buck
Nov 12 '05 #3
Buck Nuggets wrote:
Jan, lighten up a few notches. It isn't instantly obvious that a
database port to windows would retain as many command-line utilities
as db2 has. Plus, 'command line' in mvs, tso, and roscoe is a
slightly different beast than on dos or unix.

buck


I did consider lightening up - for a few seconds and rejected the idea.
Orgiginal poster clearly stated that:

"I have DB2 V7.1 on my PC plus VisualAge Cobol V2.2."

DB2DCLGN is clearly documented in online documentation which cames with
the product and is also searchable.
Nobody was mentioning here MVS, TSO, ROSCOE or anything similiar.
Similarly, DOS is not an environment in which Db2 UDB is working or
supported.

I am intrigued by the issues where cost of searching for an answer
(using already installed product and searchable documentation)is less
that cost of asking the question in the Newsgroup on Internet (by cost I
mean number of keystrokes).

Jan M. Nelken
Nov 12 '05 #4
Buck Nuggets wrote:
Jan, lighten up a few notches. It isn't instantly obvious that a
database port to windows would retain as many command-line utilities
as db2 has. Plus, 'command line' in mvs, tso, and roscoe is a
slightly different beast than on dos or unix.

buck


I did consider lightening up - for a few seconds and rejected the idea.
Orgiginal poster clearly stated that:

"I have DB2 V7.1 on my PC plus VisualAge Cobol V2.2."

DB2DCLGN is clearly documented in online documentation which cames with
the product and is also searchable.
Nobody was mentioning here MVS, TSO, ROSCOE or anything similiar.
Similarly, DOS is not an environment in which Db2 UDB is working or
supported.

I am intrigued by the issues where cost of searching for an answer
(using already installed product and searchable documentation)is less
that cost of asking the question in the Newsgroup on Internet (by cost I
mean number of keystrokes).

Jan M. Nelken
Nov 12 '05 #5
"Jan M. Nelken" <Un**********@Invalid.Domain> wrote in message
news:aRW_b.10205

I am intrigued by the issues where cost of searching for an answer
(using already installed product and searchable documentation)is less
that cost of asking the question in the Newsgroup on Internet (by cost I
mean number of keystrokes).

Jan M. Nelken


How about the cost of double posting.
Nov 12 '05 #6
"Jan M. Nelken" <Un**********@Invalid.Domain> wrote in message
news:uOW_b.10193>
I did consider lightening up - for a few seconds and rejected the idea.
Orgiginal poster clearly stated that:

"I have DB2 V7.1 on my PC plus VisualAge Cobol V2.2."

DB2DCLGN is clearly documented in online documentation which cames with
the product and is also searchable.
Nobody was mentioning here MVS, TSO, ROSCOE or anything similiar.
Similarly, DOS is not an environment in which Db2 UDB is working or
supported.

I am intrigued by the issues where cost of searching for an answer
(using already installed product and searchable documentation)is less
that cost of asking the question in the Newsgroup on Internet (by cost I
mean number of keystrokes).

Jan M. Nelken


I think the problem is that on the mainframe, the DCLGEN is usually invoked
from a TSO menu, and not a command, and programmers don't know the name of
the program (it's just a menu selection). Programmers don't use any DB2
commands on OS/390 (DB2 commands are a completely different concept on that
platform). A search on DCLGEN would not find anything in DB2 for Linux,
UNIX, and Windows.
Nov 12 '05 #7
I'm more concerned about my cost of double reading... ;-)

PM

"Mark A" <ma@switchboard.net> a écrit dans le message de
news:9%******************@news.uswest.net...
"Jan M. Nelken" <Un**********@Invalid.Domain> wrote in message
news:aRW_b.10205

I am intrigued by the issues where cost of searching for an answer
(using already installed product and searchable documentation)is less
that cost of asking the question in the Newsgroup on Internet (by cost I
mean number of keystrokes).

Jan M. Nelken


How about the cost of double posting.

Nov 12 '05 #8
Mark A wrote:
I think the problem is that on the mainframe, the DCLGEN is usually invoked
from a TSO menu, and not a command, and programmers don't know the name of
the program (it's just a menu selection). Programmers don't use any DB2
commands on OS/390 (DB2 commands are a completely different concept on that
platform). A search on DCLGEN would not find anything in DB2 for Linux,
UNIX, and Windows.


Sorry for the double posting - I cancelled redundant entry. Must have
double click - or my NNTP client interpreted my single click on send as
double click.

On my machine search on DCLGEN brings exactly one hit im Glossary, where
DCLGEN sends me to "Declaration Generator" term - where it is explained.
So next search on "Declaration Generator" brings multiple (actually
many) hits - *first* one being db2dclgn - Declaration Generator Command.

I tried to demonstrate that rudimentary Windows directory search on
substring of term sought would also be successful.

Frequently commands in DB2 for Linux, Windows, Unix (and OS/2) are
prefixed with "db2" and abbreviated tail:

db2advis - Db2 Index Advisor
db2bnd - Db2 Bind file description tool
db2dclgn - Declaration Generator

etc. etc.

I cannot guarantee that my NNTP client won't have a hickup in the future
- so I am granting you (and everybody else) a permanent license to skip
not only my double posting, but also my all postings.

Jan M. Nelken
Nov 12 '05 #9

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

Similar topics

0
by: srvaspreddy | last post by:
Hi Friends, What are the ways we have to compare data size in DCLGEN and DB2 catalogues?.
0
by: SOI_0152 | last post by:
Hi all! Happy New Year 2008. Il hope it will bring you love and happyness I'm new on this forum. I wrote a stored procedure on mainframe using DB2 7.1.1 and IBM language c. Everything works...
3
by: Graham Hobbs | last post by:
Hello, Am out of the working world now but working on a project that requires me to know what the output looks like from an IBM mainframe DCLGEN operation. In my days it would look something...
0
by: msmithuk | last post by:
Hi, I am writing a PL/1 program which will be reading a DB2 Table which has a column defined as a CLOB. Therefore, I should use DCLGEN to obtain accurate SQL DECLARE TABLE statements. However...
0
by: rsilvers | last post by:
what type of overhead will this select statement cause to db2 on z/os mainframe ? This is an imbedded SQL in COBOL Declare cursor C1 for select number, key1, key2 from table where type =...
0
by: kcanterbury | last post by:
I am trying to insert a CLOB data field (1M in size) into an Oracle table using a COBOL DB/2 program. I have an alius in DB2 set up for the Oracle table. The field is defined as TYPE is CLOB(1M) in...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
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
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...
0
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...
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,...

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.