|
My problem is that I have a conditional override on a printer file that
appears to be wiping out the first override We are at V5R2.
>From the manual OVRPRTF:
"The parameters overridden are then specified by the other parameters
of the OVRPRTF command. Parameters not specified do not affect
parameters specified in the file description, in the program, or in
other file override commands run later."
>From my CL
/* .. Produce the Report */
OVRPRTF FILE(TX141DS1) DEVTYPE(*AFPDS) PAGESIZE(51 +
165) LPI(6) CPI(15) OVRFLW(45) DRAWER(6) +
PAGRTT(90) OUTQ(TRSPRT04) HOLD(*YES)
CHGVAR VAR(&OUTQ) VALUE(%SST(&PRMS 114 10))
RTVDTAARA DTAARA(*LDA (761 30)) RTNVAR(&FILEname)
RTVDTAARA DTAARA(TRSYDAD (560 10)) RTNVAR(&PDFOUTQ)
IF COND(&OUTQ = &PDFOUTQ) THEN(OVRPRTF +
FILE(TX141DS1) OUTQ(&OUTQ)
USRDFNDTA(&FILEname))
CALL PGM(TX141DSR) PARM(&PRMS)
The printer file description DSPFD:
DEV *JOB
DEVTYPE *SCS
PAGESIZE
66
132
*ROWCOL
LPI 6
Output attributes for first run where the outqueue selected is not the
PDF outqueue
*NO
PRINTER
*AFPDS
TX141DS1
TRLIBOBJ
OUtput attributes for second run where the outqueue selected is the PDF
outqueue
*NO
PRINTER
*SCS
TX141DS1
TRLIBOBJ
TX141DSR
I expected both sets of overrides to be in place.
TIA
Fran Denoncourt
Sr. Programmer/Analyst
Pinal County Treasurer's Office
Florence, AZ 85232
(520) 866-6404
Receipt of this message does not grant you permission to send me
Unsolicited Commercial Email
As an Amazon Associate we earn from qualifying purchases.
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.