Don,
If the job only creates a single spool file, then you can use the special
value of *ONLY. If the job produces several spool files and you just want
to get the most recent one, then use the special value *LAST.
Rich Loeber
Kisco Information Systems
http://www.kisco.com
--------------------------------------------------------------------------
Don Cavaiani wrote:
Greetings,
I run a menu step which is a CLP I created and which CALLS an Outside_Print_Package_Program (CLP & RPG) for which I have no SOURCE CODE.
The program which loads up requests options, and may then be run interactively or in batch.
I would prefer this to run in batch all the time, but then I need to CPYSPLF the printer spooled output file and do some further processing. I want to automatically retrieve and fill in the required CPYSPLF command options, but I don't think I will know or have access to the "spooled file number" (unless I manually look it up) when the job is submitted to batch. Is that correct? Am I missing something simple here?
TIA
Don
Don F. Cavaiani
IT Manager
Amerequip Corp.
920-894-7063
"It's amazing what you can accomplish if you don't care who gets the credit." Harry S. Truman
This mailing list archive is Copyright 1997-2026 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.