REPOSITORY

Creates a repository file or requests that the program being compiled is checked against the repository file.
Note: This directive is supported for native COBOL only.

Syntax:

>>-.---.-------REPOSITORY--"option"------><
   +-/-+

Parameters:

option
One of:
UPDATE ON
A repository file is created for the class, program, function or interface being compiled.
UPDATE OFF
No repository file is created.
CHECKING ON
A repository is used for conformance checking of parameters in CALL and INVOKE statements.
CHECKING OFF
No conformance checking takes place.

Properties:

Default: REPOSITORY "UPDATE OFF CHECKING OFF"
Phase: Syntax check
$SET: Initial

Comments:

The repository file is created in the directory specified by the RDFPATH directive.

REPOSITORY(UPDATE ON) is set for any source containing a user-defined FUNCTION.