RPG IV OPERATION CODE SUMMARY SYNTAX DIAGRAM LEGEND


Table 5.8 lists the operation code syntax diagram summary. Values in square brackets [ ] are optional. For example: [*NOKEY] means that the value *NOKEY is optional. The square brackets are not included when specifying these values in source code. In Table 5.8, as they are in the language, the operation code extenders are specified in parentheses. All operation extenders are optional, but for clarity they are illustrated here as they are specified in RPG IV (in parentheses) instead of brackets.

Note

All operation codes that support resulting indicator 2 also support the E operation extender. For clarity purposes, the E operation extender has been omitted from the syntax diagram in this book.

Values in lowercase are variable values. For example, compare value 2 means that a literal or variable (i.e., field) can be specified. Values in small capitals (for example,*LOCK) are constants. Values enclosed in single quotation marks represent a literal or named constant value.

The term value, as used in the syntax diagram (Table 5.8), generally means any field or literal value can be specified. If the value is enclosed in single quotation marks, only a literal or named constant is allowed.

The term variable generally means any field, data structure, array, or array element can be specified. For example: char variable refers to a field, data structure, or array element of type CHARACTER, whereas num variable refers to a field of type NUMERIC (such as packed, binary, integer, or signed numeric).




The Modern RPG IV Language
The Modern RPG IV Language
ISBN: 1583470646
EAN: 2147483647
Year: 2003
Pages: 156
Authors: Robert Cozzi

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net