Thanks Mark and Rob,
I can get the info from the qry easily enough. Wrote a pgm years ago to get that.
It creates a list of what/how the files are used.
What I was hoping for was a secret decoder ring method of changing the actual qry definition to use the new file library.
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Mark Waterbury
Sent: Friday, July 24, 2020 8:51 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: Change Qry Files
Jerry,
If you have the QUSRTOOLS product, it has a DSPQRYUSE command that looks like it does more or less the same thing as what some of the now "missing" magazine articles did.
Or, perhaps you have hardcopy of the old NEWS/400 or iSeriesNEWS magazines from circa 2001-2003, so you can refer to the original articles?
Mark S. Waterbury
On Friday, July 24, 2020, 9:16:22 AM EDT, Jerry Forss <jforss@xxxxxxxxxxxxx> wrote:
Hi All,
Say there is a production library with a bunch of queries. (QRYLIBA)
I copy that library to a test environment. (QRYLIBA to QRYLIBT)
Is there a programmatic way of changing all the files in the queries to use the test environment files?
Ex: Query uses FILELIBA/CUST. I want to change it in the QRYLIBT to use FILELIBTT/CUST.
It looks like there are some parameters on the RUNQRY command but not sure how they are used.
I would REALLY prefer not to have to go into each qry and manually change them.
No idea if that is even an option.
Subject to Change Notice:
WalzCraft reserves the right to improve designs, and to change specifications without notice.
Confidentiality Notice:
This message and any attachments may contain confidential and privileged information that is protected by law. The information contained herein is transmitted for the sole use of the intended recipient(s) and should "only" pertain to "WalzCraft" company matters. If you are not the intended recipient or designated agent of the recipient of such information, you are hereby notified that any use, dissemination, copying or retention of this email or the information contained herein is strictly prohibited and may subject you to penalties under federal and/or state law. If you received this email in error, please notify the sender immediately and permanently delete this email. Thank You
WalzCraft PO Box 1748 La Crosse, WI, 54602-1748
www.walzcraft.com<
http://www.walzcraft.com> Phone: 1-800-237-1326
As an Amazon Associate we earn from qualifying purchases.