Highlighted
GJANDREWS
1 Copper

Issue updating a property using dmctl.

I am trying to set a property to a certain value using dmctl.

Ex.  dmctl -s <DOMAIN> put <CLASS>::<INSTANCE>::<PROPERTY>  TRUE

I get this error....

MR2-E-MR_PUT_NOT_DEFINED-No put method defined for attribute <PROPERTY> in class <CLASS>; in file "/work/tancurrent/DMT-9.2.1.0/12/smarts/repos/mr/computedprop.c" at line 192

Other properties in that CLASS for that INSTANCE I have been able to 'put'.

Not sure how to change this attribute to be writable(?)...

Please advise...

Glenn

Tags (3)
0 Kudos
1 Reply
AlanG2
1 Copper

Re: Issue updating a property using dmctl.

It looks like the attribute is computed, so you cannot simply overwrite the value. And generally you wouldn't want to.

Without context it's impossible to provide any more advice.

Alan

0 Kudos