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.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.