script to change 4645AA

All those commands that we don't really use very often, but that we should ! Documented or not, they worth it !
Post Reply
fery_s
Member
Posts: 169
Joined: 08 Nov 2014 06:38

script to change 4645AA

Post 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 ?
alexeik
Member
Posts: 342
Joined: 26 Apr 2007 10:47
Location: Bad Oeynhausen, germany

Re: script to change 4645AA

Post by alexeik »

have you written the script manually? or recorded it with "mgr -line"?
fery_s
Member
Posts: 169
Joined: 08 Nov 2014 06:38

Re: script to change 4645AA

Post 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
alexeik
Member
Posts: 342
Joined: 26 Apr 2007 10:47
Location: Bad Oeynhausen, germany

Re: script to change 4645AA

Post by alexeik »

hmm strange...

but your right -line was something else...
User avatar
alex
Senior Member
Posts: 1458
Joined: 06 Jul 2004 07:27
Contact:

Re: script to change 4645AA

Post by alex »

Did you use option "-nodico" with "-log"?
If it looks like a duck, swims like a duck, and quacks like a duck, then it probably is a duck.
fery_s
Member
Posts: 169
Joined: 08 Nov 2014 06:38

Re: script to change 4645AA

Post 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
User avatar
alex
Senior Member
Posts: 1458
Joined: 06 Jul 2004 07:27
Contact:

Re: script to change 4645AA

Post by alex »

Looks like it is not possible to modify VM directory number when you have messages in MB or AA configured.
If it looks like a duck, swims like a duck, and quacks like a duck, then it probably is a duck.
Post Reply

Return to “Usefull commands”