Hi,

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)


Debugging, I see, for the overrides :
Fichier Niveau Type Spécifications mots clés
MySplf 3 PRT TOFILE(*LIBL/ovrfile) SPLFNAME(mysplf)
*JOB PRT OUTQ(*LIBL/CER560)

And the call stack
QCMD
MyTestPgm
MyProductionPgm


Thanks for any help.

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.