I have a challenge to solve the following....
The first read of an XML-file in my COBOL program takes 40 minutes.
The size of the file is 55 Mb.
In my opinion, 40 minutes is too long for the first read.
How can I fix this time-problem ?
SELECT XXX2CAK ASSIGN TO WS-XXX2CAK-NAAM
ORGANIZATION IS XML
DOCUMENT-TYPE IS "Borderel.xsd"
FILE STATUS IS WS-XXX2CAK-STATUS.
----------------------------------------------------------------------
XD XXX2CAK.
01 CAK999-Borderel identified by "Borderel" count in CAK999-Borderel-cnt.
02 CAK999-Bericht identified by "Bericht" count in CAK999-Bericht-cnt.
03 CAK999-CodeBericht PIC 9(03) identified by "CodeBericht"
count in CAK999-CodeBericht-cnt.
03 etc.....
02 CAK999-Gegevenslevering identified by "Gegevenslevering"
count in CAK999-Gegevenslevering-count.
03 CAK999-AantalDetailRecords PIC S9(6) identified by
"AantalDetailRecords" count in
CAK999-AantalDetailRecords-cnt.
03 etc...
02 CAK999-NatuurlijkePersoon
occurs 1 to 130000
depending on CAK999-NatuurlijkePersoon-cnt
identified by "NatuurlijkePersoon"
count in CAK999-NatuurlijkePersoon-cnt.
03 CAK999-Persoonsnummer PIC S9(9) identified by
"Persoonsnummer" count in
CAK999-Persoonsnummer-cnt.
03 etc......
-----------------------------------------------------------------------
start XXX2CAK key is CAK999-Borderel
READ XXX2CAK
#NetExpress5.0
#COBOL




