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



James,
You might try to place an OVRPRTF HOLD(*YES) in your CL program before printing
the report.
This way, the report will not be sent to the physical printer.

Jeff Young
Sr. Programmer Analyst
IBM -e(logo) server Certified Systems Exper - iSeries Technical Solutions V5R2
IBM Certified Specialist- e(logo) server i5Series Technical Solutions
Designer V5R3
IBM Certified Specialist- e(logo)server i5Series Technical
Solutions Implementer V5R3









________________________________
From: James H. H. Lampert <jamesl@xxxxxxxxxxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Sent: Tue, August 24, 2010 12:28:16 PM
Subject: Problems with spool files

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

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.