| Syntax Color Legend |
|---|
| Command |
| Mandatory parameter |
| Optional parameter |
| Mandatory keyword |
| Optional keyword |
NOTRUNC (<Field>)
When using values of alpha fields in expressions trailing spaces get truncated. NOTRUNC ensures that the trailing spaces are taken into account in the expression.
Realstring
| Parameter | Description |
|---|---|
| <Field> | Alpha field not to be truncated of its trailing spaces. |
// the following alpha's have been defined
sa-4 : alpha 4 value 'ab'
sa-6 : alpha 6 value 'klm'
sa-100 := sa-4 + sa-6
// sa-100 will have the value "abklm"
sa-100 := notrunc (sa-4) + sa-6
// sa-100 will have the value "ab klm"