### EMS_EXPND

Expand and return a message

#### Description:

Any tokens in the supplied message are expanded and the result is returned in the character variable supplied. If the status argument is not set to SAI__OK on entry, no action is taken except that the values of any existing message tokens are always left undefined after a call to EMS_EXPND. If the expanded message is longer than the length of the supplied character variable, the message is terminated with an ellipsis.

#### Invocation

CALL EMS_EXPND( MSG, OPSTR, OPLEN, STATUS )

#### Arguments

##### MSG = CHARACTER $\ast$ ( $\ast$ ) (Given)
The raw message text.
##### OPSTR = CHARACTER $\ast$ ( $\ast$ ) (Returned)
The expanded message text.
##### OPLEN = INTEGER (Returned)
The length of the expanded message.
##### STATUS = INTEGER (Given)
The global status.