|
Hi, Greetings for a good day!
Below is my part of my CL program :
PGM
DCL VAR(&RECS) TYPE(*DEC) LEN(10)
DCL VAR(&PLIB) TYPE(*CHAR) LEN(10)
YGETPLIB PLIB(&PLIB)
CHGJOB OUTQ(QUSRSYS/JUNK)
RUNQRY QRY(YSGOMNITRD) QRYFILE((&PLIB/YTRNF1) +
(YCUSTOMNI)) OUTTYPE(*OUTFILE) +
OUTFILE(QTEMP/IFEMPTY)
RTVMBRD FILE(QTEMP/IFEMPTY) NBRCURRCD(&RECS)
IF COND(&RECS *EQ 0) THEN(GOTO CMDLBL(ENDIT))
RUNQRY QRY(YSGOMNITRD) QRYFILE((&PLIB/YTRNF1) +
(YCUSTOMNI)) OUTTYPE(*PRINTER) +
OUTFILE(QTEMP/YSGOMNITRD)
When I run this job , I found this puts spool file on
hold(it changes the outputq to junk):
How do I make this program modify sothat it should not
put spool file on hold ?
Can I replace with OVRPRTF? any ideas? please post
Thanks in adv,
Murali.
__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html
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.