900-ADD-PHRASE adds a phrase to a language definition if that phrase is not yet there. The phrase must be translated before it can be used by application programs.
Library |
DATABASE |
Output |
No output returned. |
Required Fields
Field |
Type and length |
Definition |
CRT-PHRASE |
A 50 |
English phrase used to retrieve the translated phrase. |
CRT-PHRASE-SIZE |
N 4 |
Size used to determine whether the short or long phrase will be retrieved. You cannot get back anything larger than the existing phrase, but you can truncate what you get back by passing a smaller value than the existing phrase. For more information on defining short and long phrases, see the Lawson Administration: Translation guide. |
Programming Example
This routine adds a phrase to the system language definition.
MOVE phrase-to-add TO CRT-PHRASE.
MOVE phrase-length TO CRT-PHRASE-SIZE.
PERFORM 900-ADD-PHRASE.
|