Tags:
create new tag
view all tags

.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

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2020-05-12 - JeanNeron
 
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