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


  • Subject: RE: Printing and QZRCSRVS
  • From: "Clapham, Paul" <pclapham@xxxxxxxxxxxxx>
  • Date: Tue, 29 May 2001 10:03:01 -0700

You will notice that those QZRCSRVS jobs run under the QUSER profile, and
not under the user profile that you used to connect to the AS/400.  But when
you find the spool files, they are in a different job, that does belong to
that user profile and not to QUSER.  They are put there by approximately the
same process that SNDNETSPLF uses to deliver spool files from one user to
another, I believe.

This means that the job name and number where the spool files end up are
basically unpredictable.  Perhaps the spool files are attached to the
QZRCSRVS job while it is active, and your called program could do the
CPYSPLF before terminating, but I don't know if that is true or not.

PC2

-----Original Message-----
From: Geert Van Landeghem [mailto:gvl@reynderseti.be]
Sent: May 28, 2001 02:06
To: 'JAVA400-L@midrange.com'
Subject: Printing and QZRCSRVS


Hello all,

We are using the ProgramCall class to call programs on the AS/400 to
generate
reports. (among other things) A QZRCSRVS job is started that handles the
requests.

What is the reason that the spoolfiles created have QPRTJOB as jobname?
I would like to perform a CPYSPLF on some of the generated output to
send the report in an e-mail using the javamail api, but how do I retrieve
the jobname/number/user of the QPRTJOB job responsable for creating
the spoolfiles?

P.S. we are using V4R3

Thanks for responding!
+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.