Generates a string containing the units of an NDF KPG1_DAUNI
’
s data or variance
component allowing for truncation
’
s data or variance component. If the length of the variable to store
the string is shorter than the units field, the units string is truncated and an ellipsis is
inserted. For the variance the data units are enclosed in parentheses and followed by ’
2’
. Again if the the length of the units string is too short, truncate the units within the parentheses
and insert an ellipsis. A null string is returned if the UNITS component does not exist
within the NDF. ’
DATA’
, ’
VARIANCE’
, ’
QUALITY’
or ’
ERROR’
. Any other
component will result in a SAI__ERROR status being returned immediately. ’
VARIANCE’
the length must be no less
than 9 characters; for COMP = ’
DATA’
the minimum is 4 characters; for COMP = ’
ERROR’
the
minimum is 5 characters; otherwise the routine returns immediately with the SAI__ERROR status. ’
QUALITY’
.