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



Pete,

Thanks. I do recall, now that you mention it, reading about that. I'm still stuck on 5.4, though, so I can't use it. Might be nice if IBM would PTF that back, but I understand that they've got better fish to fry.

Jerry C. Adams
IBM System i Programmer/Analyst
--
B&W Wholesale
office: 615-995-7024
email: jerry@xxxxxxxxxxxxxxx

Suffering is overrated. It doesn't teach you anything. -Bill Veeck.


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Pete Massiello
Sent: Friday, June 04, 2010 8:08 AM
To: 'Midrange Systems Technical Discussion'
Subject: RE: Recreate queries

Jerry,

In V6R1, you can find out what files are used by a Query with
DSPPGMREF. I wrote an article about this in my March 2010 newsletter.
http://www.itechsol.com/newsletter.cfm

Pete
--
Pete Massiello
iTech Solutions
http://www.itechsol.com

Add iTech Solutions on Facebook:
http://www.facebook.com/group.php?gid=126431824120
Add iTech Solutions on LinkedIn: http://www.linkedin.com/groups?gid=2206093


iTech Solutions because IBM i (AS/400s) didn't come with System
Administrators


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Jerry Adams
Sent: Friday, June 04, 2010 8:49 AM
To: Midrange Systems Technical Discussion
Subject: RE: Recreate queries

David,

I have never found a way to automate the process of recreating Queries.
When we change a file, which is used by 1-n queries, I have to manually
recreate them. But I do that while I am still in development and then push
the changes to production. I don't have the luxury of having a CMS so I
don't know how that would fit into that scheme.

The hard part is identifying the queries that use FILEA, for example. There
was a utility (DSPQRYF) published in System i Network that we use to find
those.

Jerry C. Adams
IBM System i Programmer/Analyst
--
B&W Wholesale
office: 615-995-7024
email: jerry@xxxxxxxxxxxxxxx

In fact, I even kept voting for him after he died, because I'd rather vote
for a dead man with class than two live bums. -Bill Veeck on Norman Thomas


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of David FOXWELL
Sent: Friday, June 04, 2010 7:17 AM
To: Midrange Systems Technical Discussion
Subject: Recreate queries

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.