I needed something like cb2java for a project I was doing so I grabbed it and got it working. Along the way I had to add some necessary features, these include:
* Support for 88 Condition Types
* Support for multiple record parsing
* Support for multiple RENAMES clauses
* Support for parsing multiple records where sub groups are aliased, dynamically choosing the group type based on already parsed fields
My updates perform well, I can parse a 12+MB file with 157k records in about 9 seconds. I can check these changes in if you want to take them. I'm an experienced Java coder, but mostly unfamiliar with Cobol. I was leaning heavily on Wikipedia for my knowledge of Cobol. I also added an Java main class because I don't use jython.
John
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I needed something like cb2java for a project I was doing so I grabbed it and got it working. Along the way I had to add some necessary features, these include:
* Support for 88 Condition Types
* Support for multiple record parsing
* Support for multiple RENAMES clauses
* Support for parsing multiple records where sub groups are aliased, dynamically choosing the group type based on already parsed fields
My updates perform well, I can parse a 12+MB file with 157k records in about 9 seconds. I can check these changes in if you want to take them. I'm an experienced Java coder, but mostly unfamiliar with Cobol. I was leaning heavily on Wikipedia for my knowledge of Cobol. I also added an Java main class because I don't use jython.
John
How are you providing (COBOL DATA)t he input after you get the hold of the copybook?