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



On Fri, Dec 2, 2011 at 4:02 PM, Brian Johnson
<brian.johnson.mn@xxxxxxxxx> wrote:
On Fri, Dec 2, 2011 at 11:25 AM, <mgarrison@xxxxxxxxxx> wrote:

I have the following program (subset of the actual program but this will
compile for demonstration purposes) using the QGYOLSPL api to retrieve a
list of the spool files on our systems.  When I run the program it is
crashing with escape error message MCH1210 Receiver value too small to
hold result which is not listed in the documentation for the QGYOLSPL api.
 We are at v6r1.



I compiled and ran your example code on V5R4...




I suspect your example code has more than one mistake. One is passing
uninitialized (and maybe the wrong one as it's also used for parameter
6) structure for parameter 3. Clearing ds_FilterInf to all x'00'
allows the API to return error GUI0011, rather than crash itself.
Start with that and work through other mismatched parameters and
uninitialized structures and I'm sure you will enjoy great success
with this API.




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.