Folks:

Anyone know if there is a way to copy a spool file created in a job after
using the QWTSETP api to do a user profile handle switch?

I've got a program that does a WRKACTJOB to a spool file and then analyzes
the contents.

However, the spool file is being generated in a job named QPRTJOB instead
of the current job ... so the CPYSPLF command can't find the file.

I'm wondering if there is a command parameter I can use to tell CPYSPLF to
copy the correct spool file.

Of course, the best solution would to not use WRKACTJOB & CPYSPLF and use
the ACTIVE_JOB_INFO table function to get the job information, but that's a
lot more work.

Thanks!

david


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.