|
Vern, >From what I can see, the QSQGNDDL API provides the same functionality that "Generate SQL" does from the iSeries Navigator. I briefly reviewed the database functions in Navigator yesterday. Today I found the redpaper "DB2 UDB Database Navigator and Reverse Engineer", which mentions the ANSI SQL generate option. There's also a "User Defined Relationship" option that looks like what I'm after. From the paper, "This function is likely used to illustrate a referential integrity constraint that is implemented on the application logic and not defined in the database." The project team I'm on is implementing Hyperion planning, analysis, and reporting. One of our requirements is to provide drill-down into our ERP data from Hyperion. I assume I need to define the drill-down relationships to Essbase (houses the Hyperion data). Our ERP system is composed of around 1,200 tables for which I need to define relationships. I'm hoping to get financials and the major inventory management tables defined in short order, as they are the majority of drill-down focus in phase 1. Thanks, Loyd Loyd Goodbar Senior programmer/analyst BorgWarner E/TS Water Valley 662-473-5713 -----Original Message----- From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Vernon Hamberg Sent: Thursday, June 16, 2005 04:59 To: Midrange Systems Technical Discussion Subject: RE: ERD for Synon db without Synon? There is also the Generate SQL... function in the Database section of iSeries Navigator. There is an option there to use ANSI/ISO syntax, which leaves out all the DB2/iSeries extensions, such as LABEL ON, ALLOCATE, *SYS naming convention, etc. I don't know, but maybe the API has a similar option - I suspect it is used by Navigator but cannot confirm that. HTH Vern At 03:09 PM 6/15/2005, you wrote: >Paul, Carel, > >Thanks for mentioning the QSQGNDDL API. I found the Midrange Guru article at >http://www.itjungle.com/mgo/mgo060502-story01.html > >Barring any prebuilt applications that can do this, I believe this is >suitable for me to crank out the DDL. I'll probably throw it at SQL Server >Enterprise Manager so I can define the relationships. > >Thanks, >Loyd > >Loyd Goodbar >Senior programmer/analyst >BorgWarner >E/TS Water Valley >662-473-5713 >-----Original Message----- >From: midrange-l-bounces@xxxxxxxxxxxx >[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Carel Teijgeler >Sent: Wednesday, June 15, 2005 14:27 >To: midrange-l@xxxxxxxxxxxx >Subject: Re: ERD for Synon db without Synon? > >Lloyd, > >An example that uses this API (RPG IV) can be found at www.itjungle.com. It >was written by Ted Holt,and was published with the Guru-newsletter a couple >of months ago. Unfortunately, I cannot recall the date. > >Regards, >Carel Teijgeler > >*********** REPLY SEPARATOR *********** > >On 15-6-05 at 14:55 Paul Morgan wrote: > > >Check out the Generate Data Definition Language API (QSQGNDDL) found in the > >Database & File APIs. This API can retrieve the SQL DDL (CREATE TABLE, > >CREATE VIEW and such) for any file even if created using DDS. Use this API > >on the Synon files then strip out the field prefixes from the SQL source. > >With some modifications that SQL could be used in Enterprise manager. > > > >I've got a RTVSQLSRC CMD/CL front end for this API that might be helpful. > >Would be happy to post the source or maybe someone could offer to host it >for download.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.