CLSDDREC: Closing All Files Opened by the PUTDDREC Function

How to:

The CLSDDREC function closes all files opened by the PUTDDREC function. If PUTDDREC is called in a Dialogue Manager -SET command, the files opened by PUTDDREC are not closed automatically until the end of a request or connection. In this case, you can close the files and free the memory used to store information about open file by calling the CLSDDREC function.


Top of page

x
Syntax: How to Close All Files Opened by the PUTDDREC Function
CLSDDREC(output)

where:

output

Integer

Is the return code, which can be one of the following values:

  • 0, which indicates that the files are closed.
  • 1, which indicates an error while closing the files.


Example: Closing Files Opened by the PUTDDREC Function

This example closes files opened by the PUTDDREC function:

CLSDDREC('I1')

iWay Software