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



Override the spool file before your program prints to it:

OVRPRTF FILE(QPRINT) HOLD(*YES)

Albert

On Tue, Aug 24, 2010 at 9:28 AM, James H. H. Lampert
<jamesl@xxxxxxxxxxxxxxxxx> wrote:
At this point, I don't know any more than what I'm saying here; I'm
waiting for a customer to answer some questions.

But here is the gist of the situation:

I'm creating a spool file using QPRINT, from O-specs in an RPG program.

I'm then emailing that spool file using Gumbo SpoolMail.

I'm then deleting the spool file.

All of this is automated with a CL program.

At some point in this process (I don't know where yet), a CPF3309 is
being thrown, and on at least one occasion, Gumbo Spoolmail is throwing
an exception of its own (SM11014, "Unable to e-mail
soandso@xxxxxxxxxxxxxxxxx . . . . see the messages in the job log for a
more complete description of what caused the error . . . .").

None of this happened when the customer's database administrator tested
the program, BUT I noticed that her user profile doesn't have the
default printer set to an actual printer, while the shipping clerk's
user profile does.

I've asked whether there is new hardcopy coming out where it wasn't
coming out before. Could it be that the shipping clerk's printing
defaults are grabbing my spool file and printing it before it can be
emailed and deleted?

Do I need to change all this from printing to QPRINT, to printing to a
print file that's guaranteed to never be connected to a real printer?
And if so, how? (Around here, we only have one physical printer
connected to an AS/400, and if we want something printed, we have to
explicitly send it there from WRKSPLF, so I'm not exactly "up" on how to
keep spool files from being printed.)

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



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.