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



Why not use a 'SNDNETSPLF' command? Instead of running it multiple
times, just send it to multiple users.

Sheri
System i Administrator
Timex Group Canada Inc.


-----Original Message-----
From: Greg Wenzloff [mailto:GWenzloff@xxxxxxxxxxx]
Sent: August 6, 2008 12:41 PM
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




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.