Directory Management Statements

This section describes the statements that are useful when implementing directory-polling schemes:

Directory polling, as related to XML documents, allows two or more independent processes to pass XML documents between the processes. For example, one or more writer processes may place XML documents in a well-known directory, that is, a directory with a directory name that is known to all of the interested processes. Each XML document must have been given a unique name. A reader process finds, processes, and removes XML documents from the same well-known directory.

Directory polling may be used to communicate with message-driven communications systems. It is a technique that may also be used between various ACUCOBOL-GT applications.

Note that XML FIND FILE when used with multiple reader processes on the same directory could find the same file. An external conflict resolution mechanism must be used to avoid this situation.