U@ADDPHRASE

U@ADDPHRASE 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.

Module DATABASE
Output No output returned.

Required Fields

Field Type and length Definition
E@PHRASE A 50 English phrase used to retrieve the translated phrase.
E@PHRASESIZE 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.


   EVAL      E@PHRASE       = PWS@PROMPT(S0)               
   EVAL      E@PHRASESIZE   = 20                           
   CALLP     U@ADDPHRASE                        Add Phrase