Previous Topic: CA 2E Naming ConventionNext Topic: Naming Convention Variation


For RPG III

CA 2E uses a systematic naming convention for application systems whose main language is RPG III. Overall, the naming convention’s aim is to encode appropriate information about entity type, attribute, and application into the names of objects and object components as shown in the following schematic example.

The convention is explained in more detail for each entity level: object, format, and field, in the following sections. Refer to the appendix, "Naming Convention Examples," in this guide for more examples.

Because of the severe length restrictions imposed upon names by RPG III, and to a lesser extent by OS/400, CA 2E has adopted a positional coding structure; information is encoded by position as well as value.

Always use two-character mnemonics, rather than the usual three-character mnemonics of CL. This is so the same mnemonic system can be used at all levels (for example, in RPG III field names as well as format and object names) .

For example: