>Hi every one,
>Can somebody tell me if I can (and how to) 'retreive' the DDS from an
>SQL created file?
Other people have mentioned DSPFFD. The reason this works is because an SQL-created file is just an arrival-sequence physical file. There is an SQL type attribute, and possibly something that shows the create statement, but they don't seem to affect what you want at all. I think that appropriate mappings of data types, from SQL to native AS/400, etc., always occur.
What gets a little weird is SQL views and indexes. Both are implemented as logical files, but views are not keyed, while indexes are keyed, but we can't use them to see the data, not even with a SELECT statement against the logical file. Here the SQL type attribute seems to come into play strongly.
Just some thoughtsó
Systems Software Programmer
Old Republic National Title Insurance Company
400 Second Avenue South
Minneapolis, MN 55401-2499
(612) 371-1111 x480
+--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to "MIDRANGE-L@midrange.com". | To unsubscribe from this list send email to MAJORDOMO@midrange.com | and specify 'unsubscribe MIDRANGE-L' in the body of your message. | Questions should be directed to the list owner/operator: email@example.com +---
This mailing list archive is Copyright 1997-2019 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