Difference: 0DXSubrXmlPurge (1 vs. 3)

Revision 32020-05-12 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="FullAPIList"

.XML PURGE

Line: 29 to 29
 
<--/commentPlugin-->

-- Main.JeanNeron - 2014-08-27

Added:
>
>
META TOPICMOVED by="JeanNeron" date="1589314678" from="Main.0DXSubrXMLPurge" to="Main.0DXSubrXmlPurge"

Revision 22016-02-25 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="FullAPIList"

.XML PURGE

Changed:
<
<
This subroutine purges the work files associated with an import session.
>
>
This subroutine purges the work files associated with an import session. Added in 5.3.0
 

Usage:

Revision 12014-08-27 - JeanNeron

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="FullAPIList"

.XML PURGE

This subroutine purges the work files associated with an import session.


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.


<--/commentPlugin-->

-- Main.JeanNeron - 2014-08-27

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback