I am trying to execute the following immediate script command. There are two devices. The target is named "OLD_WAN_IP_ADDRESS". The second device has a ref id of 972.
&hs.SetDeviceStringByName("OLD_WAN_IP_ADDRESS",$$DTR:972:,Tr ue))
The following error shows in the log and the string does not get set
Nov-06 17:52:00 Error Running script(1) &hs.SetDeviceStringByName("OLD_WAN_IP_ADDRESS",$$DTR:972:,Tr ue)), init error: Invalid character
What am I doing wrong? Is it OK to use the $$DTR substitution as the second parm in the hs.SetDeviceStringByName function?
Thanks,
Robert
&hs.SetDeviceStringByName("OLD_WAN_IP_ADDRESS",$$DTR:972:,Tr ue))
The following error shows in the log and the string does not get set
Nov-06 17:52:00 Error Running script(1) &hs.SetDeviceStringByName("OLD_WAN_IP_ADDRESS",$$DTR:972:,Tr ue)), init error: Invalid character
What am I doing wrong? Is it OK to use the $$DTR substitution as the second parm in the hs.SetDeviceStringByName function?
Thanks,
Robert
Comment