Previous Topic: CALL to Subroutine EXPANDS

Next Topic: CALL to Subroutine SHRKHCS


CALL to Subroutine CLOSES

CLOSES frees the small dynamic area acquired by the SHRINKS or EXPANDS subroutines. This call should be used by online applications when they finish processing. CLOSES accepts one parameter—the work area (WRK) used by SHRINKS or EXPANDS.

The following are model statements for calling CLOSES:

Assembler Language

CALL CLOSES,(WRK),VL

COBOL

CALL 'CLOSES' USING WRK.

PL/I Optimizer

CALL CLOSES(WRK);