5 pts.
 Hold spool files during CRTLF
I've just discovered that CHGCMDDFT CMD(OURSYS/CRTLF) NEWDFT('OPTION(*NOSRC *NOLIST)') will not work. This is due to the OPTION parameter not having a default assigned.

Is there a way to have the resultant spool file, during the creation of a file. default to a non-print outq?

 



Software/Hardware used:
ISeries
ASKED: May 17, 2012  2:46 PM
UPDATED: May 26, 2012  4:29 AM

Answer Wiki:
For CRTLF, you can set the printer file to hold by default:<pre> CHGPRTF FILE(QSYS/QPDDSSRC) HOLD(*YES)</pre> You could also change its default *OUTQ. But why? There might be a better alternative depending on what your business problem is. You asked about a specific technical item that might have no good answer. If you describe the <i>business problem</i> that needs to be solved, many possible answers might be available. Some might be part of better processes. Tom
Last Wiki Answer Submitted:  May 26, 2012  4:28 am  by  TomLiotta   110,115 pts.
All Answer Wiki Contributors:  TomLiotta   110,115 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

Easiest way is to change the output queue parameter on your user profile to the desired output queue and make sure your job description output queue parameter is set to *USRPRF.

 5,730 pts.