This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
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.
I plan to realize this with TRANSFORM_FILE, read the list data, correct them, write the correct data into a second list and at last create anew XML using TRANSFORM_LIST.
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?