You may have to break your copybook into two.
In order to maintain the displacements in the XML, the
second copybook would require a dummy variable representing
the length of structure to that point. You would then be
able to merge both XML files in the end.
I was able to process the first 3998 lines of your copybook
without any problems. I had never seen such a lengthy
structure before...
Hopefully, this will help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=1524922
You may have to break your copybook into two.
In order to maintain the displacements in the XML, the
second copybook would require a dummy variable representing
the length of structure to that point. You would then be
able to merge both XML files in the end.
I was able to process the first 3998 lines of your copybook
without any problems. I had never seen such a lengthy
structure before...
Hopefully, this will help.