I'd like the program that I'm testing to generate its spool file in the
outq of the test library I'm using. I'm not sure if it's possible
without modifying the program.

MyTestPgm :
OVRPRTF MySplf OUTQ(MyOutQ) OVRSCOPE(*JOB)
CALL MyProductionPgm



MyProductionPgm :
OVRPRTF FILE(MySplf) TOFILE(ovrfile) SPLFNAME(&splfname)

I would have overridden OVRFILE rather than MYSPLF in MYTESTPGM. Or I might
have overridden *PRTF instead. I believe either of those approaches will
solve your problem.

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
The 50-50-90 rule: Anytime you have a 50-50 chance of getting something
right, there's a 90% probability you'll get it wrong.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.