|
One of our programmers asked me to help with a problem involving outq overrides. PGM_A prompts for invoice number, issues an OVRPRTF via QCMDEXC, then calles PGM_B which prints the invoice. All works as expected UNLESS the user profile that calls PGM_A has a default OUTQ defined. In this case, the override does not seems to "stick", and the output is created in the wrong outq. Some specifics: V4R4 ILE (PGM_A Actgrp(*New), PGM_B Actgrp(*Caller)) Print file >> QPRINT program described (O spec) Override being issued: OVRPRTF FILE(QPRINT) OUTQ(ARINVPRT) We got around the problem by creating QPRINTINV which targets the static outq that is needed. No override needed now. That's fine, but I'd like to know why an OVRPRTF failed for jobs having a default OUTQ. It does not seem to be related to OVRSCOPE issues, since it works correctly when the job's OUTQ is *DEV. Any ideas? tia, Eric DeLong Sally Beauty Company MIS-Project Manager (BSG) 940-898-7863 or ext. 1863
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.