grmfetch
This retrieves data from the specified field within the GRM handle.
grmfetch ?-warn var? grmId field
Depending on the underlying record format, a single field string can imply multiple values. For example, an FRL field that is defined with multiple subfields.
If you specify a warning variable name, var, then any warning messages generated during the operation are collected in the named variable.
This command returns a list of datum handles, one per value, such as subfields for FRL or subcomponents for HL7.
An error is returned when the field specification is invalid with respect to the record definition. An error is also returned if any item's value cannot be retrieved. For example, the value is not present in the GRM handle data state, or the underlying message is too short to cover the field.