In the case of *PRTFs that are to be exceptions to the general rule then I
would just have the exit program check if the current *PRTF is one of the
exceptions. The exception list could be stored in a table or hardcoded in
the exit program.

Bruce

On Wed, Dec 2, 2015 at 7:24 AM, <rob@xxxxxxxxx> wrote:

On that command exit point I'd be careful with one thing. I have no
problem with you changing CRTPRTF to your new defaults. However, you may
be more careful with CHGPRTF. The difference between overriding and
changing the defaults is big. Perhaps there is some special printer file
you do not want to automatically delete after a set number of days. You
might have to disable the exit during that particular change. Definitely
not trying to spread FUD. Just something to be aware of.

Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





From: Vernon Hamberg <vhamberg@xxxxxxxxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Date: 12/02/2015 07:57 AM
Subject: Re: CHGCMDDFT CRTPRTF
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>



Hi Gad

Chuck gave you the reason - there is no default for DAYS(), therefore,
it can't be changed.

DAYS() is a dependent (not sure if that's the term) parameter - it comes
into effect only when there is a certain value in a different parameter
- in this case, the EXPDATE parameter.

If you look at the documentation, you'll see there is no underline for
the values for the DAYS() parameter. That means no default.

I think he suggested the exit, as did Rob - that seems the only way to
do what you need.

Regards
Vern

On 12/2/2015 2:42 AM, Gad Miron wrote:
Rob, Vern

The CHGPRTF is as follows:
CHGPRTF FILE(QSYSPRT) EXPDATE(*DAYS) DAYS(45)

When issuing a
CHGCMDDFT CMD(CRTPRTF) NEWDFT('EXPDATE(*DAYS) DAYS(45)')
I get a CPD6263
Checking between parameters not done for parameter EXPDATE.

I created a PRTF anyway and it has EXPDATE(*NONE) - the IBM default.

Thanks
Gad

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.





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].