I've used it on v6.1 & v7.1 without any issues. If you want to see the
working code the work with selected spooled files & delete selected
spooled files command you can download from my website both use that API
as well as the other list APIs. The WRKSPL command actually makes use of
the sorting functionality and would be a better example for you.

Http://tommyholden.com/downloads/save files/wrkspl.savf



From: mgarrison@xxxxxxxxxx
To: RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>,
Date: 12/02/2011 02:15 PM
Subject: RE: MCH1210 error in QGYOLSPL api
Sent by: rpg400-l-bounces@xxxxxxxxxxxx



Tommy Holden wrote on 12/02/2011 01:50:42 PM:

From: Tommy.Holden@xxxxxxxxxxxxxxxxxxxxx
To: RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>
Date: 12/02/2011 01:56 PM
Subject: RE: MCH1210 error in QGYOLSPL api
Sent by: rpg400-l-bounces@xxxxxxxxxxxx

Why? The QGYOLSPL api is just for that type of purpose (it's the
backbone
of WRKSPLF, etc.)




Tommy,

I agree with your assessment that the QGYOLSPL api provides additional
function over the QUSLSPL api. In our particular case I would like to
take advantage of those additional capabilities.

During my "Google'ing" phase I believe I ran across some of your code
using QGYOLSPL. I take it you were able to use the api without any
similar errors? Have you used it on V6R1?

Thanks,
Mike Garrison
Werner Enterprises, Inc.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.