ILE RPG Language Reference
Control-specification keywords may have no parameters, optional
parameters, or required parameters. The syntax for keywords is as
follows:
Keyword(parameter1 : parameter2)
where:
The following notational conventions are used to show which parameters
are optional and which are required:
- Braces { } indicate optional parameters or optional elements of
parameters.
- An ellipsis (...) indicates that the parameter can be repeated.
- A colon (:) separates parameters and indicates that more than
one may be specified. All parameters separated by a colon are required
unless they are enclosed in braces.
- A vertical bar (|) indicates that only one parameter may
be specified for the keyword.
- A blank separating keyword parameters indicates that one or more
of the parameters may be specified.
Note:
Braces, ellipses, and vertical bars are not a
part of the keyword syntax and should not be entered into your source.
If additional space is required for control-specification keywords,
the keyword field can be continued on subsequent lines. See Control-Specification Statement and Control Specification Keyword Field.
[ Top of Page | Previous Page | Next Page | Contents |
Index ]