Alan,

IIRC, you cannot execute a SQL statement against a DDM file. You can do a
CONNECT to the other system and work SQL against those tables.


Regards,

Luis Rodriguez
IBM Certified Systems Expert — eServer i5 iSeries
--



On Tue, Jun 21, 2011 at 8:23 AM, Alan Shore <ashore@xxxxxxxx> wrote:

Morning all
On one system (system A), I have a DDM file connecting to another system
(system B)
I have to pull data from this DDM file on system A, but when attempting
this in STRSQL, I get the message
File not table, view, or physical file.
Which is true
I have attempted to use an OVRDBF with the same result
I have used CPYF and copied this DDM file to another file and was able to
use this CPYF file, but I was wondering if anyone had found a way to use SQL
against a DDM file?
As always, all responses MUCH appreciated

Alan Shore
Programmer/Analyst, Direct Response
E:AShore@xxxxxxxx
P:(631) 200-5019
C:(631) 880-8640
"If you're going through Hell, keep going" - Winston Churchill

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



This thread ...

Replies:

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

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 [javascript protected email address].