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



I have not used OPNQRYF in CGIDEV2 but...

Are you calling a separate CL program to do the OPNQRYF, or do you do the
OPNQRYF directly from the RPG: "eval rc=docmd('OPNQRYF....')"? If you use a
separate CL program you may be running to call level issues. I'd try the
OPNQRYF directly from RPG so it stays in the same call level as the OVRDBF.

Also, your files should be defined as USROPN in the F-specs.

HTH,
Loyd

-----Original Message-----
From: James Lundy [mailto:jlundy@xxxxxxxxx] 
Sent: Thursday, April 22, 2004 14:05
To: MIDRANGE-L@xxxxxxxxxxxx
Subject: OPNQRYF and CGIDEV2


        Is it possible to use OPNQRYF with CGIDEV2?

        I have tried ever combination if can think of to make this work.

        CL calling RPG, RPG using docmd calling CL 
                OPNQRYF runs but program is reading file in file order
sequence.

        RPG using docmd to issue OVRDBF and OPNQRYF, docmd returns error on
OPNQRYF.

        Have made search of Google, Midrange archives, and Yahoo Easy400
group.
        

        Any help or suggestions appreciated.

        TIA

     Jim

 

_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.