He has existing CL programs that use the command but don't specify a particular parameter. If he changes the default parameter, will those existing programs use the new or old default.
That's how i read his question.
________________________________________
From: Rob Berendt [rob@xxxxxxxxx]
Sent: Friday, February 16, 2018 6:06 AM
To: Midrange Systems Technical Discussion
Subject: Re: CHGCMDDFT
If you're imbedding the command in a CL program why do you give a tinker's
dam what the command default is? Why not just put that parameter into the
program? Instead of
CHGCMDDFT CMD(SAVLIB) NEWDFT('ENDOPT(*EJECT)')
just put
SAVLIB ... ENDOPT(*EJECT)
into your CL program.
Or am I missing something here?
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: Don Brown <DBrown@xxxxxxxxxx>
To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
Date: 02/15/2018 05:17 PM
Subject: Re: CHGCMDDFT
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>
That was what I thought.
But I have changed both QSYS and QSYSV7R1M0 and the joblog is showing a
wait time of 120 seconds which is the command default not the 10 seconds
on the changed command.
I will do some more testing
Don Brown
From: "DrFranken" <midrange@xxxxxxxxxxxx>
To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
Date: 16/02/2018 08:15 AM
Subject: Re: CHGCMDDFT
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>
I could be wrong here but I do not think the command in the QSYSV7R1M0
library is used except when compiling to previous releases, in this case
7.1.
Whatever default value exists for that parameter in the command in QSYS
will be used UNLESS the source code specified a different value.
- Larry "DrFranken" Bolhuis
www.Frankeni.com
www.iDevCloud.com - Personal Development IBM i timeshare service.
www.iInTheCloud.com - Commercial IBM i Cloud Hosting.
On 2/15/2018 5:10 PM, Don Brown wrote:
If I have a program compiled at say V7R1 that uses for example the
SAVLIB
command
If I change the SAVLIB command in the QSYSV7R1M0 for example CHGCMDDFT
SAVACTWAIT(10) (I also tried changing the command in QSYS to test)
And I do not recompile the CL Program with the changed command take
effect
or will the program run with the defaults as at the time it was compiled
?
Thanks
Don Brown
--
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:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link:
http://amzn.to/2dEadiD
______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit
http://www.symanteccloud.com
______________________________________________________________________
--
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:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link:
http://amzn.to/2dEadiD
As an Amazon Associate we earn from qualifying purchases.