× 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, David:

Jeff Yanoviak published a nice utility in iSeriesNEWS magazine called "UPDQRY" that uses the virtual terminal APIs to issue the needed WRKQRY command and options, based on an *OUTFILE created by the RTVQRYF command, also published in NEWS/400 magazine.

Here are some links:

http://forums.systeminetwork.com/isnetforums/showthread.php?t=48196
and
http://forums.systeminetwork.com/isnetforums/showthread.php?t=50138

Also, as of V6R1 and above, you can now issue DSPPGMREF to find what objects (e.g. *FILEs) a given *QRYDFN refers to. But, you must recreate the *QRYDFN at least once, after upgrading to V6R1, or after restoring a *QRYDFN from a previous release, in order to get this cross-reference information updated in the OIR of the library containing the *QRYDFN. Another nice application for Jeff's "UPDQRY" tool.

All the best,

Mark S. Waterbury

> On 6/4/2010 8:17 AM, David FOXWELL wrote:
Hi

When migrating a file, how can I automate the process of recreating the *QRYDFN? After all this time I'd never even thought of it as it is not I who pushes the button to deploy. The boss finally complained about having to recreate them manually as they crashed. This will be an addition to our home-grown CMS.

Thanks.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.