CANCELLBR

Makes the Compiler close an .lbr file used as a library in a COPY statement once that copy operation is complete.

Syntax:
>>-.---.-.----.--CANCELLBR-----------------><
   +-/-+ +-NO-+
Parameters:

None

Properties:
Default: CANCELLBR (DIALECT DIALECT
Phase: Syntax check
$SET: Any
Comments:

NOCANCELLBR causes such .lbr files to be left open until the end of the compilation. Subsequent COPY statements that do not specify a library search for the copyfile in all open .lbr libraries (last one opened is searched first) before the current directory.

This directive is only relevant if COPYLBR is on.

[NO]CANCELLBR can be used on any $SET statement. Only .lbr libraries referenced in COPY statements after the $SET statement are affected. Any left open from previous COPY statements are only closed if specified again on a COPY statement following a CANCELLBR directive.

See Also: