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



If your splf data stream type is *SCS then it's really simple: Assign
the dtaq to the outq, read the dtaq, crtpf qtemp/filex recl(report
length + 1), cpysplf (job info here) to filex prtctl(*fcfc), ovrprtf
qsysprt prtctl(*fcfc) outq(target outq), cpyf fromfile(filex)
tofile(qsysprt).

CAVEAT: I'm doing the prtctl parm from memory and you WILL want the
recl of the pf to be whatever the report width is PLUS 1 to handle the
printer control byte at the front.

Now, if you need to send this splf to another system, you can use remote
spooling, OR you can ftp the file you created (filex) to the target box,
ovrprtf and cpyf as shown.

/DR2

On 2022-04-22 14:10, Bryan Dietz wrote:

depending on how many, you could create an outq
CRTOUTQ OUTQ(copysplf) RMTSYS(LOCALHOST) RMTPRTQ('LIBRARY/YOUROUTQ')
AUTOSTRWTR(1) CNNTYPE(*IP) TRANSFORM(*NO) DESTOPT(XAIX) SEPPAGE(*NO)

if you move something to this outq use SAVE(*YES) to the original spooled file.

--
Bryan

a4g atl wrote on 4/22/2022 9:29 AM:

I need to copy spool files to another OUTQ. The CPYSPLF command does not
provide for that.

The only option seems to be to use SNDNETSPLF.

Does anyone have a better solution?

TIA, Darryl Freinkel.

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.