Resetting

Use the grmreset command to clear a GRM object's data state. It removes all of the field data values, but leaves the definition intact and ready for use. It returns an empty string.

For example:

grmreset $grmId

Use this command to parse a new message into the GRM object. When parsing a new message, grmreset supports a -warn option such as grmcreate.

For example:

grmreset -warn w $grmId $msgId