Have you tried STRQM and then edit the form and query? Some things
don't translate well. I have not translated QRY/400 to QMQRY in a long
time, but an earlier thread mentioned a command to check what the RTV
command will miss or have errors with.



On 10/2/07, Fleming, Greg (ED) <GFLEMING@xxxxxxxxxxxxxxxxxxxx> wrote:
We're using STRQMQRY on a Query/400 QRYDFN. The query when run from
Query/400 is defined to return summary records only, but when run from
STRQMQRY in a CL program (or interactively), it returns detail.

I found a post from 2003 which indicated a similar problem, and
suggested running RTVQMFORM to generate a source file from the QRYDFN,
then using CRTQMFORM to create a form to use on the STRQMQRY QMFORM
parameter. I tried that, but I still get detail.

Is there anyway to make this thing give me summary records only ?


Greg Fleming

Senior Programmer/Analyst

Everglades Direct, Inc.

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.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 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].