Working with XML files with more than 10 million entries
Posted: Thu Jun 05, 2025 7:44 pm
HI again,
I need to write a functionality that
My question is:
The XML file can contain up to 30 million lines.
Documentation says: The special value ENTRIES(*MAX) is provided to represent 2,147,483,647. Using this value on some operating systems, like 32-bit Microsoft Windows versions, will overflow available memory in a process if an attempt is made to add the maximum number of entries.
Is this also valid when using a Reusable Part (RDMLX) on IBMi?
Or is there a better / other way to handle such big files?
Best regards,
Jörg
I need to write a functionality that
- reads a XML file in an IFS folder
detects possible erros in the single lines
corrects these errors and
writes back the corrected XML file into the original IFS folder.
My question is:
The XML file can contain up to 30 million lines.
Documentation says: The special value ENTRIES(*MAX) is provided to represent 2,147,483,647. Using this value on some operating systems, like 32-bit Microsoft Windows versions, will overflow available memory in a process if an attempt is made to add the maximum number of entries.
Is this also valid when using a Reusable Part (RDMLX) on IBMi?
Or is there a better / other way to handle such big files?
Best regards,
Jörg