You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

7.14.3 CLOSE Examples

Example 1: Close the customer master file CUSTMST.

CLOSE       FILE(CUSTMST)

Example 2: Close all files which are active at this time.

CLOSE

Example 3: A temporary work file must be closed in order to clear the data.


CLOSE       FILE(WORKFILE.QTEMP)
EXEC_CPF    COMMAND('CLRPFM FILE(QTEMP/WORKFILE)')
  • No labels