thanks from another TOMMY.
Tom Deskevich
Infocon Corporation
Phone 814-472-6066
Fax 814-472-5019
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of
Tommy.Holden@xxxxxxxxxxxxxxxxxxxxx
Sent: Thursday, April 30, 2009 9:07 AM
To: RPG programming on the IBM i / System i
Subject: RE: Confused about DDL and DDS
if you use FROG (or my GENDDL command) it will save the output to a source
member (so you don't have tooooooooooooo!) (blatantly stolen from the
"scrubbing bubbles" commercials)
Thanks,
Tommy Holden
From:
Jerry Adams <Jerry@xxxxxxxxxxxxxxx>
To:
RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>
Date:
04/30/2009 08:58 AM
Subject:
RE: Confused about DDL and DDS
Sent by:
rpg400-l-bounces@xxxxxxxxxxxx
By the way, you can also use the "Generate SQL" option in System i
Navigator to create DDL for a table/file that was originally created with
DDS. That is, the tables do not have to have been created using SQL's DDL
in the first place. It even works against "flat" files ported from a 34
or 36, though there's not much to look at / use in that case.
Jerry C. Adams
IBM System i Programmer/Analyst
--
B&W Wholesale
office: 615-995-7024
email: jerry@xxxxxxxxxxxxxxx
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Tom Deskevich
Sent: Thursday, April 30, 2009 8:40 AM
To: RPG programming on the IBM i / System i
Subject: RE: Confused about DDL and DDS
mucho gracias senor !!!!
This tool is great for me. Because you know what you want with DDS, but
not
sure how that translates into SQL.
I was curious how this tool would treat the key information. I had
multiple
keys to the file, but I see no DDL created.
I changed it to only 1 key, thinking a PRIMARY KEY would be added to the
DDL
but no.
Tom Deskevich
Infocon Corporation
Phone 814-472-6066
Fax 814-472-5019
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Nathan Andelin
Sent: Wednesday, April 29, 2009 5:58 PM
To: RPG programming on the IBM i / System i
Subject: Re: Confused about DDL and DDS
From: Alan Campin
Always use Operations Navigator ...
You never want to code this stuff by hand. Way too much work.
This seems to be an appropriate place to recommend Tommy Holden's GENDDL
command:
http://www.tommyholden.com/
See the Downloads link.
Use DDS & CRTPF to create tables. Use GENDDL to generate SQL DDL. Then
RUNSQLSTM to re-create tables.
Some of us think Operations Navigator is too much work.
Nathan.
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.