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



If all you want to do is use the same file structure in a different
library, you could use a CL to override your file with an OVRDBF but you
would need to know the file being used by every query you wanted to
override.
The CL would be:

PGM
OVRDBF FILE(File referenced in query) TOFILE(new library/new
filename)
RUNQRY QRY(query name)
ENDPGM



John Arnold
(301) 354-2939

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
Prevesh.Kuni@xxxxxxxxxxxxxxxxx
Sent: Tuesday, February 24, 2009 8:04 AM
To: midrange-l@xxxxxxxxxxxx
Subject: QRYDFN

Hi Guys,

Is it possible to programmatically change the file selection library in
a
*QRYDFN?

We have hundreds of queries where a file library needs to change....

I have done passing parms to a QMQRY but these are existing *QRYDFN

Any help would be greatly appreciated - thanks

Kind regards,

Prevesh Kuni
RPG Developer
Business Systems Atlas Copco ASAP Southern Africa
P.O. Box 14110
Witfield
1467
South Africa

Phone: +27 (0)11 821 9000 - Phone dir.: +27 (0)11 821 9245 - Mobile: +27

(0)83 679 8197 - Fax: +27 (0)11 252 9393
E-mail: prevesh.kuni@xxxxxxxxxxxxxxxxx
Visit Atlas Copco at: www.atlascopco.com
We are committed to your superior productivity through interaction and
innovation

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.