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.
For information about PUTDDREC, see PUTDDREC: Writing a Character String as a Record in a Sequential File.
Is the return code, which can be one of the following values:
This example closes files opened by the PUTDDREC function: