Support for variable length records
Brought to you by:
p4w3l
I am not able to convert a Variable length file using the cobol2j tool. xsd creation happens correctly but parsing the data file is failing. I am skipping the first 4 bytes for every rset.hasNext() in Dat2xml.java. The first 4 bytes of each record is the length of the record per the mainframe data specs. Not sure how to use the length to determine the end of record and start a new record.
To fix this problem, make potentialDepOn a global variable in RecordSet.java -
private HashMap potentialDepOn = new HashMap();