You could try your OVRPRTF with parameter OVRSCOPE(*CALLLVL)
Rick Marchini
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Greg Wenzloff
Sent: Wednesday, August 06, 2008 11:41 AM
To: midrange-l@xxxxxxxxxxxx
Subject: OVRPRTF
I'm stumped:
I need to send the printout of a query to several users so I set up this
CLP - .
.
.
/* GIVE GREG A COPY */
RUNQRY QRY(PRTNEGHST)
/* GIVE CHERYL A COPY */
OVRPRTF FILE(QPQUPRFIL) OUTQ(CHANNUM) HOLD(*YES)
RUNQRY QRY(PRTNEGHST)
DLTOVR FILE(*ALL)
/* GIVE DAN, GARY, AND SUSAN A COPY */
OVRPRTF FILE(QPQUPRFIL) OUTQ(PRTHPGR3) HOLD(*YES) +
SAVE(*YES)
RUNQRY QRY(PRTNEGHST)
DLTOVR FILE(*ALL)
.
.
.
If I run this program interactively it runs correctly and distributes
the printouts.
When the job runs from Job Scheduler it does not distribute the print
outs but rather it puts them all in my outq.
The job on the scheduler runs under my user profile.
We are on a new 525 running V5R4.
Any ideas why this would happen?
Thanks,
Greg
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at
http://archive.midrange.com/midrange-l.
*********************** NOTICE***********************
This e-mail and attachment(s) may contain information that is
privileged, confidential, and/or exempt from disclosure under
applicable law. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination,
distribution, or copy of this message is strictly prohibited. If
received in error, please notify the sender immediately and
delete/destroy the message and any copies thereof. Although
Associated Banc-Corp and/or its affiliates (collectively
"Associated") attempt to prevent the passage of viruses via e-mail
and attachments thereto, Associated does not guarantee that either
are virus-free, and accepts no liability for any damage sustained
as a result of any such viruses.
Any federal tax advice contained in this communication (including
any attachments) is not intended or written to be used or referred
to in the promoting, marketing, or recommending of any entity,
investment plan or agreement, nor is such advice intended or written
to be used, and cannot be used, by a taxpayer for the purpose of
avoiding penalties under the Internal Revenue Tax Code
As an Amazon Associate we earn from qualifying purchases.