Products Downloads


French version


 

Reserved words enable the programmer to have access to particular system data or data internal to Adelia, and to affect the processing corresponding to certain Adelia instructions.

 

The use of reserved words is usually limited to assignment operators (example: VARIABLE = *RESERVED_WORD + 1 or *RESERVED_WORD = VARIABLE), and to comparison operators (example: IF *RESERVED_WORD = value... or DO_WHILE *RESERVED_WORD <> value...).

 

ADELIA programs which are generated in RPG have access to the reserved words supplied by the AS/400's system Info DSs, in addition to the standard reserved words.

 

The lists of Adelia reserved words presented below do not take into account reserved words relating to trigger modules.

 

Note: All Reserved words begin with an asterisk (*).
Lines of comments also begin with an asterisk.
It is suggested that users follow the asterisk with a space, when writing lines of comments.

 

Documentary conventions

In the description of the reserved words, the Type section indicates the type of the variable returned. This type is represented symbolically.

Example:

Notation

Type

Length

256 A

Alphanumeric

256 positions

3.0 N

Numeric

3 integer positions, 0 decimal position

 

Click below to access the lists of:

 

↑ Top of page

  • Aucune étiquette