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



Haven't been paying attention for a week, and maybe some did suggest this 
and I missed it, but what about the Save/Restore Spool File Tool (commands 
ZSAVSPLF & ZRSTSPLF) in the current (ie V5) QUSRTOOL library - the free 
one included as OS/400 part 7 (Example Tools Library) ?
This tool has been there since at least V4R1 - possibly earlier.  Check 
member TSRINFO in file QUSRTOOL/QATTINFO for details.

...Neil




"Buck Calabro" <buck.calabro@xxxxxxxxxxxx> 

2004/05/24 15:32



To
midrange-l@xxxxxxxxxxxx
cc

Subject
Re: How to save an Outq






> if you've got the time you can roll your own with CPYSPLF.
> Investigate the CTLCHAR option.

Also, try to use the spooled file APIs to retrieve the specifics of
the actual spooled file like CPI, LPI, form type, etc.  These things
are attributes of the spooled file and are not contained within the
spooled file data you get with CPYSPLF.  You'll have to loop through
an output queue to get all of the spooled files there...

/* Save */
rtv attributes
cpysplf
somehow link attributes with splf data

/* Restore */
retrieve linked attributes
ovrprtf
cpyf

  --buck




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.