Prompt text for iSeries command titles should be in lower case but with initial letters capitalized.
Prompt text for iSeries command parameters should use lower case and not end with a colon (the compiler will automatically add trailing dots). The initial letter should be capitalized.
The prompts for objects should not have the word ‘name’ appended. For example, it would appear as ‘Program’, not ‘Program name’.
For iSeries command parameter prompts, allowed values should be shown in the CHOICE text. The OS/400 command compiler will add them automatically in the order in which they are coded. You should place the default value first in the source so that it appears first.
If a parameter is returned to the calling program (in other words RTNVAL(*YES) is specified for it), include the keyword and the length of the variable in the prompt text.
Prompt text should normally be stored in an external message file, to enable easy translation.
|
Copyright © 2014 CA.
All rights reserved.
|
|