On Wednesday 14 November 2001 11:43 pm, SCarter@rsrcorp.com wrote:
[snip]
>
> BTW> What API's could we be using to get around this the next time?

The main ones (that I use) are
QUSLSPL -  List spooled files
QUSRSPLA - Retrieve spooled file info

Then there are the User Space ones to actually get at the data
QUSCRTUS - Create user space
QUSRTVUS - Retrieve user space
QUSPTRUS - Retrieve Pointer to User Space (optional, but makes the
process a bit faster, so I'm told)

Then to work with output queues I use
QUSLOBJ -  List Objects (I use it to get a list of the *OUTQs)
QSPROUTQ - Retrieve *OUTQ info.

If you want examples, feel free to get my code and have a dig around.
Hopefully it's well commented ;-)

Regards, Martin
--
martin@dbg400.net  jamaro@firstlinux.net  http://www.dbg400.net        /"\
DBG/400 - DataBase Generation utilities - AS/400 / iSeries Open        \ /
Source free test environment tools and others (file/spool/misc)         X
[this space for hire]  ASCII Ribbon Campaign against HTML mail & news  / \


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.