.XML PURGE
This subroutine purges the work files associated with an import session. Added in 5.3.0
Usage:
SET 0DX .XML PURGE =
PASS <key> FIELD SHARE? N
SUBR 0DX .XML PURGE DETACHED END? N FAIL 0
* Check for errors
IF 0DX .XML PURGE NE
Description:
When importing large XML files, the work files used by 0DX can get very large. This API gives you a way to remove a particular import session.
<key> is the numeric key of the import session to be removed (Required).
If there is only one session to in the import work files, the API will use SCRATCH/CREATE to clear the data which will execute very quickly. If there is more then one session, then the records have to be deleted individually, which may take some time to complete if there is lots of data.
NOTE: This subroutine must be invoked DETACHED, and cannot be invoked via GOSUB. The 0DX .XML PURGE field must be intialized in your process before invoking the API, or you will not get a return value.
Comments:
Read what other users have said about this page or add your own comments.
-- Main.JeanNeron - 2014-08-27