That wil produce multiple spool files. Each close/open will make a new
one.
Try Ovrprtf myfile share(*yes) ovrscope(*job)
(or whatever scope you determine is appropriate)
FrankKany@xxxxxxxxxx 09/24/2008 10:09:42 AM >>>
Never tried that before....but maybe if you use the 'USROPN' keyword on
the
printer file and manually open and close the file.
Hth,
Frank
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Kesterson, Randy
Sent: Wednesday, September 24, 2008 12:01 PM
To: RPG programming on the AS400 / iSeries
Subject: Sharing a Print File
Is there a way to run two RPG report programs, both outputting to the
same Print File name and have them share the open of that print file so
that both reports end up in one spool file?
________________________________________________________________________
______________________
Randy Kesterson, Information Services
Market Transport Services - a UTi Worldwide Company| 110 N Marine Drive
| Portland, OR 97217 | USA
rpkesterson@xxxxxxxxxxxxxxxxxxx <mailto:rpkesterson@xxxxxxxxxxxxxxxxxxx>
| D +1 503.978.4353 | O +1 503.283.2405 x353 | F +1 503.978.4392