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



Ken,

The S/36EE command COPYPRT can be used to respool a file to an output
queue.  Assuming a file name of SPOOL you would use COPYPRT
NOCOPY,SPOOL,,PRINT
You could use COPYPRT to copy from an actual M36 spool file to disk file
in the first place, but I'm assuming as you redirect the output to an
OS/400 output queue you probably used CPYSPLF.  If you used CTLCHAR(*FCFC)
when you copied the entry to a disk file named SPOOL in QGPL you could
copy it back to a spool file with:
OVRPRTF QSYSPRT CTLCHAR(*FCFC)
CPYF QGPL/SPOOL QSYSPRT OUTQ(lib/queue)

You could also use SNDNETSPLF (option 1 from WRKOUTQ) to create a copy of
an output queue entry on either the same, or another, AS/400 - bypassing
the copy to disk file step altogether.  Or just move the spool file from
one queue to another.
(I'm not sure of what it is you're trying to achieve).

Neil Palmer      DPS Data Processing Services Canada Ltd.
Markham, Ontario, Canada.   ____________          ___
Phone:(905) 471-3454        |OOOOOOOOOO| ________  o|__||=
Cell.:(416) 565-1682        |__________|_|______|_|______)
mailto:NeilP@DPSlink.com     oo      oo   oo  oo   OOOo=o\
http://www.DPSlink.com        IBM iSeries  The Ultimate eServer





"Shields, Ken" <kenshields@ppg.com>


        To:     "'Midrange Mailing LIst'" <Midrange-L@midrange.com>
        cc:
        Subject:        Spool file swap.


Hello again.
                 We have an M36 running on our /400, printers are mapped.
                 P1 is not physically connected to a printer, and is
simply used as an outque.
                 I can copy a /36 spooled entry to a file...i.e.
QGPL/SPOOL, now how to copy that spooled entry
                 to another actual outq on the /400?
                 I assume here, that because you may map printer devices
between machines, the outq images are interchangable.


Ken Shields
Oshawa systems group
Works 81, Oshawa Ontario
(905) 725-1144 Ext 326







As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.