Due to the space limitations of RPG III, the CA 2E convention uses a standard mnemonic of only two letters, rather than the three characters of CL mnemonics.
Mnemonics should be made up of two-character components from a strictly limited vocabulary, for example, DT for date, CD for code, and TX for text. The same set of mnemonics should be used at all levels, for example, for objects, source members, format names, and fields.
Mnemonics will generally be used in pairs. Wherever possible, combine mnemonics as ‘verb+object’ or ‘adjective+noun’. For example, use DSRP for Display Report and MNCD for Menu Code.
A limited vocabulary of mnemonics should be used. This should be documented in the field dictionary for a system.
Certain mnemonics are reserved; for instance CD for code and TX for text. See the appendix, "EJB Option Runtime Example," in this guide, for a list of reserved mnemonics.
|
Copyright © 2014 CA.
All rights reserved.
|
|