Page 1 of 1

script to change 4645AA

Posted: 11 Mar 2018 00:50
by fery_s
hello everybody
i'm going to write an script to change make some change with "mgr -nodico " in specific time, all of my change in different menu is correctly done but when i try to make some changes in 4645AA it does not success. here is my script that i put in a file with name AA:
SET Embedded_VM_AA "1": "1": "1": "2015"
{
PreConfigured_Number_For_Default = "2017"
}

and here is the error when i run "mgr -nodico -X AA:
ooo Starting at <10/03/18 20:32> ...
ooo Compiling Command file "/DHS3bin/mtcl/a" ...
!!! Command : file "/DHS3bin/mtcl/a", line 4
!!! Operation : SET
!!! Object Name : Embedded_VM_AA
!!! : 1
!!! : 1
!!! : 1
!!! : 2015
!!! Command : file "/DHS3bin/mtcl/a", line 4
!!! Operation : SET
!!! Object Name : Embedded_VM_AA
!!! : 1
!!! : 1
!!! : 1
!!! : 2015

CMISERR_5


ooo Job completed. at <10/03/18 20:32> ...

it seems "Embedded_VM_AA" object is unknown.
doese anybody has any suggestion ?

Re: script to change 4645AA

Posted: 12 Mar 2018 04:32
by alexeik
have you written the script manually? or recorded it with "mgr -line"?

Re: script to change 4645AA

Posted: 12 Mar 2018 04:41
by fery_s
alexeik wrote: 12 Mar 2018 04:32 have you written the script manually? or recorded it with "mgr -line"?
hi and thanks for your response
i get the output of mgr -log

Re: script to change 4645AA

Posted: 12 Mar 2018 05:12
by alexeik
hmm strange...

but your right -line was something else...

Re: script to change 4645AA

Posted: 12 Mar 2018 06:43
by alex
Did you use option "-nodico" with "-log"?

Re: script to change 4645AA

Posted: 12 Mar 2018 08:52
by fery_s
alex wrote: 12 Mar 2018 06:43 Did you use option "-nodico" with "-log"?
yes alex , i use both , with and without -nodio, out put is the same.
and also i test it in another system with different release, problem is occur again

Re: script to change 4645AA

Posted: 15 Mar 2018 07:11
by alex
Looks like it is not possible to modify VM directory number when you have messages in MB or AA configured.