|
We have a somewhat convoluted job whose output always goes straight
to a certain printer. We would like it to go into a queue instead,
but aren't sure where to look to configure this.
Here's how the job works:
1) The job scheduler (WRKJOBSCDE) fires off a CL
2) The CL calls RUNJVA... to run a Java program directly on the AS/400
3) After doing some other work, the called Java program writes a shell
script into an IFS directory, then starts it with QShell by using
a CommandCall object whose text is:
STRQSH CMD('/usr/local/pdf/backup.sh')
4) The stderr output from this shell script is what we want to trap in
an output queue rather than sending straight to a printer. How do
we track down what user, job, etc. it runs under so we can change it?
--
____________________________________________________________
Glenn Holmer gholmer@weycogroup.com
Programmer/Analyst phone: 414.908.1809
Weyco Group, Inc. fax: 414.908.1601
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.