On 01-Dec-2015 07:50 -0600, Gad Miron wrote:

I'm looking for a way to ensure that all PRTF are created with
EXPDATE(*DAYS) DAYS(30)
(in order to to regularly purge old Spool files using DLTEXPSPLF)

But, I'm unable to accordingly CHGCMDDFT for CRTPRTF

<<SNIP>>

Anyone has a clue?


The parameter DAYS does not have a default, thus no default can be changed :-( As a /dependent/ parameter [see DEP command], being dependent on the specification of the special value *DAYS for the Expiration Date (EXPDATE) parameter, the parameter DAYS is given no default, so the error msg CPD6260 "No default value exists for keyword DAYS." would be the effect of the Change Command Default (CHGCMDDFT) request against Create Printer File (CRTPRTF) for the New Default (NEWDFT) specification that includes 'DAYS(30)'. Note: that does not imply the command could not have been created to better enable the effect, as might have been [IMO] conspicuously inferred as an expected desire.

As Rob suggested, use the Change Command exit; Bruce Vining has written about that, thus his name is good for a web search:
[https://www.google.com/search?q=change+command+exit+vining]


This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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].