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



Peter,

That doesn't work for me.

I picked a regular ole query and hit enter and got:

RTVQMQRY QMQRY(LEEQUERY/DPBINVLOC) SRCFILE(ISSRCEP/QQRYSRC)  
Object DPBINVLOC in library LEEQUERY not found.              
EXPORT QUERY command ended due to error.                     
RTVQMQRY command failed.                                     

The query is DEFINITELY in that library but this command defines whatever it
is looking for as a type *QMQRY (?)

Chuck


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Peter Vidal
Sent: Thursday, June 24, 2004 12:40 PM
To: Midrange Systems Technical Discussion
Subject: Re: how to query an *qrydfn

Do this for each query that you want to analyze:
&QRYLIB - Query library name
&QRYNAME - *QRYDFN Name
&SRCLIB - Source library where you want the query definition to be written 
to.
&SRCFILE - Source physical file member where you want the query definition 
to be written to.
 
Command:
QSYS/RTVQMQRY 
QMQRY(&QRYLIB/&QRYNAME) 
SRCFILE(&SRCLIB/&SRCFILE) ALWQRYDFN(*YES)

Good luck!  

Peter Vidal
        



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.