× 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.



Hi Alan

I don't understand your first sentence - well, I might understand it mostly, and I'm pretty sure it's not exactly correct.

I don't know what "...stored in SQL..." means - the fact that you can generate (not retrieve) the SQL statement that will create the equivalent of a PF or LF does not mean that the statement is stored anywhere. I'm very sure the statement is not stored.

There ARE - I know you know this, but for the rest of the world! - there are system tables that hold information ABOUT the several kinds of database objects - tables that contain a list of tables, of views, of indexes, of columns, of keys, etc.

A very important point - SQL DDL-based tables and DDS-based PFs are 95% identical, with the tables having some additional attributes and behaviors - but basically, SQL tables inherit the attributes and methods of PF objects and add some. This is demonstrable using the DMPOBJ command on both types - one will see the same structures in both - various spaces, format objects, member objects, etc.

As for Data Studio, someone needs to confirm that PFs and LFs even show up in the lists of tables or views or indexes. I've not looked at Data Studio for years, and it used to have almost no AS/400 or iSeries support. I did a google on "data studio" "ibm i" - quotes are included to limit the results - and find a quick start for DS - for linux, unix, windows only - article by Jon and Susan from 2013 with a quick ride that is positive, a PDF on doing projects there - if PFs & LFs are listed in DS, it should be possible to use it to generate the SQL statement or statements to create the SQL equivalent of them.

HTH
Vern

On 2/10/2017 4:54 PM, Alan Campin wrote:
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

AOMobile - AmTrust Financial Services, Inc. Download on the App Store℠<
https://itunes.apple.com/us/app/aomobile/id626262396?mt=8&uo=4> | Get it
on Google Play™<https://play.google.com/store/apps/details?id=com.
amtrust.aomobile>
- Apple and the Apple logo are trademarks of Apple Inc., registered in the
U.S. and other countries. App Store is a service mark of Apple Inc.
- Android is a trademark of Google Inc.

________________________________
Confidentiality Notice: This email message is intended only for the
individual or entity to which it is addressed. This email may contain
information that is proprietary or privileged, confidential and exempt from
disclosure under applicable law. If you are not the intended recipient, you
are hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited. If you received this email by
accident, please notify the sender immediately and destroy this email and
all copies of it.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.