General rules
- All referenced class-names must have an entry in the repository paragraph
of the COBOL program or class definition that contains the reference. You
can specify a given class-name only once in a given repository paragraph.
- In program definitions, the repository paragraph can be specified only in
the outermost program.
- The repository paragraph of a COBOL class definition can optionally
contain an entry for the name of the class itself, but this entry is not
required. Such an entry can be used to specify an external class-name that
uses non-COBOL characters or that specifies a fully package-qualified
class-name when a COBOL class is to be part of a Java package.
- Entries in a class repository paragraph apply to the entire class
definition, including all methods introduced by that class. Entries in a
program repository paragraph apply to the entire program, including its
contained programs.
|