|
Jim: On Thu, 11 October 2001, "Jim Franz" wrote: > Is there an api to determine if an outq is "regular" or "remote". > Trying to build a help desk tool to reset print writers (and ibm's > WRKWTR screen doesn't seem to know the difference between > strprtwtr & strrmtwtr (or have i missed something?) > not great with api's-a sample would be great. Retrieve Output Queue Information (QSPROUTQ) API probably does what you need. The basic CL might be: dcl &rcv_var *char 2000 call QSPROUTQ ( &rcv_var + x'000007D0' + 'OUTQ0100' + 'MyOutq MyLib ' + x'0000000000000000' ) dmpclpgm By looking at the dump and comparing to the documentation, it should be easy to see how to make this work for you. Tom Liotta -- Tom Liotta The PowerTech Group, Inc. 19426 68th Avenue South Kent, WA 98032 Phone 253-872-7788 Fax 253-872-7904 http://www.400Security.com ___________________________________________________ The ALL NEW CS2000 from CompuServe Better! Faster! More Powerful! 250 FREE hours! Sign-on Now! http://www.compuserve.com/trycsrv/cs2000/webmail/
As an Amazon Associate we earn from qualifying purchases.
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.