Message encoding

Use the xpmencode command to encode the data in XPM's output record into a new message object. Similar to grmencode, xpmencode can produce a warning list with the -warn option.

Additionally, the messages produced inherit their metadata values from XPM's output message prototype, instead of a GRM handle.

For example:

Input: xpmencode $xlateId
Output: message3

This command returns the new message handle.