Hold spool files during CRTLF

5 pts.
Tags:
AS/400 Spool Files
AS400 iseries
CHGCMDDFT
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

Answer Wiki

Thanks. We'll let you know when a new response is added.

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

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Splat
    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.
    6,905 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following