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



Gary Monnier wrote on 12/02/2011 01:43:27 PM:

From: "Monnier, Gary" <Gary.Monnier@xxxxxxxxx>
To: RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>
Date: 12/02/2011 01:47 PM
Subject: RE: MCH1210 error in QGYOLSPL api
Sent by: rpg400-l-bounces@xxxxxxxxxxxx

Mike,

If there are so many spooled files you are overflowing 16Mb, maybe
you're going at it in too forward a fashion. You may have to go
through the process of listing output queues and then use the
QUSLSPL API for each output queue. If a single output queue
overflows a 16Mb user space you may have to be even more granular.

Gary


You are correct Gary in that I was overflowing the 16Mb user space size
limitation and I do have a version working as you describe by using the
object list api and the using the spool file api QUSLSPL for each output
queue. It does work without error but I would really like make use of the
sorting capapbilities of the QGYOLSPL to process our oldest spool files
first rather than in output queue library/name sequence.

Thanks,
Mike Garrison
Werner Enterprises, Inc.

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.