|
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.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.