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



Ronald,
 
I think you just need to re-order your logic to something resembling:
3800 - OPNQRYF FILE(PGNL601) QRYSLT('  FUND *NE "120"
*AND FUND *NE "502" *AND *NOT FUND *EQ  %RANGE("700" "760")

hth

Eric DeLong
Sally Beauty Company
MIS-Sr. Programmer/Analyst
940-898-7863 or ext. 1863
 

-----Original Message-----
From: Ronald A. Alford [mailto:ralford@richmond.k12.va.us]
Sent: Friday, May 25, 2001 2:57 PM
To: RPG400-L@midrange.com
Subject: OPNQRYF

Please, does anybody know if it is possible to use a NOT EQUAL on an %RANGE built-in function in OPNQRYF.  I am constantly getting errors when trying to do this.  This is how the statement looks when it is coded:

 3800 - OPNQRYF FILE(PGNL601) QRYSLT('  FUND *NE "120"
*AND FUND *NE "502" *AND FUND *NE  %RANGE("700" "760")
 
 


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.