|
Hi, I'm having a problem copying a spool file because the program I'm running calls another program that actually creates the spool file with a different job name. Basically, my program uses QCMDEXC to call a LAWSON command that submits a job creating the spool file. I've tried *LAST but it says there's no spool file for the current job, which is true, so I tried OVRPRTF SPLFOWN(*JOB) but then it says there are duplicate jobs found. I also tried the QUSRJOBI api but that doesn't help because you need the qualified job name. Can anyone think of a way to grab the spool file from a job within a job? Thanks!
As an Amazon Associate we earn from qualifying purchases.
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.