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



OOh, this is interesting. The default output for STRQMQRY is *PRINT. It
seems your Query/400 query has a database output.

Someone mentioned using DLTSPLF - I recommend DLTSPLF QPQXPRTF
SPLNBR(*LAST) immediately after the STRQMQRY command.

Or, you could modify the Query to go to print, then make the STRQMQRY
OUTPUT(*OUTFILE) OUTFILE(samelib/samefile)

It'd be interesting to see what happens if you left the query as is and
change the output type of the STRQMQRY - would it just do the outfile once?

Vern

At 03:50 PM 8/20/02 -0400, you wrote:
>I have this command in a CL (that works OK):
>STRQMQRY   QMQRY(FI041Q1) ALWQRYDFN(*ONLY) SETVAR((TRN_DATE &TRN_DATE))
>
>As a result, I have dozens of spooled files in my OUTQ.  However, this query
>FI041Q1 is creating a workfile with totals and all that stuff.  I do not want
>those system-default reports to be printed.  Maybe I can programmatically
>delete
>the reports after running the command (maybe with DLTSPLF) but I was
>hoping that
>the way I coded the command was incomplete.
>
>Any help is greatly appreciated.
>
>PETER VIDAL
>PALL Aeropower Corp. / SR Programmer Analyst
>Website: www.pall.com  / Email: Peter_Vidal@Pall.com
>Phone: 727-539-8448, x2414
>
>_______________________________________________
>This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
>To post a message email: MIDRANGE-L@midrange.com
>To subscribe, unsubscribe, or change list options,
>visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
>or email: MIDRANGE-L-request@midrange.com
>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 ...

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.