I am trying to pull the value of the EMS_DOMAIN_ID attribute id 0x129ac into a custom menu item and having some issues.
The menu item passes the value of the EMS_DOMAIN _ID and the Model_Handle to a local script that logs in to the MLS and connects to the appropriate landscape via the vnmsh and creates a test alarm for a given model. The script runs fine manually from the command line when the landscape handle and model handle are passed:
./alarmtest.sh 0x500000 0x528b4d
However, when run through the custom menu it seems landscape handle HEX value 0x500000 is converted to integer value 5,242,880:
Command: /opt/spectrum/custom/scripts/alarmtest.sh 5,242,880 0x528b4d
[spectrum@spectrum vnmsh]$ ./show attributes mth=0x10429 | grep -i 129ac
0x129ac EMS_Domain_ID Integer R,D