× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



You can also do a call to this function to generate the SQL for a table or
file. For a DDS file, not every DDS option is convertible to SQL DDL 100%
equivalently. Some DDS features are not supported in SQL.

https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/IBM%20i%20Technology%20Updates/page/QSYS2.GENERATE_SQL()%20procedure

Mike


message: 5
date: Fri, 10 Feb 2017 14:54:12 -0800
from: Alan Campin <alan0307d@xxxxxxxxx>
subject: Re: SQL statements for physical and logical files

All DDS or SQL defined tables are stored in SQL and you can retrieve the
source was SQL at anytime. I just using Ops Nav and go in and right mouse
on a table name in the database and say generate SQL. Make sure you take
the option to include system names. You should be able to do the same thing
in Data Studio.

On Fri, Feb 10, 2017 at 2:03 PM, William Howie <
William.Howie@xxxxxxxxxxxxxxxx> wrote:

Hello all,

Can anyone tell me if there is a system table on the iSeries that stores
the SQL statements that would be used for creating a particular physical
and/or logical file? Does the file have to have been originally created
with SQL instead of DDS for this kind of information to even be kept
anywhere or is it stored somewhere for all files? On a related note,
does
the use of IBM Data Studio in any way help to facilitate finding this
kind
of information? Any info would as always be appreciated. Thanks!

Bill


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.