Srinivasa,
This looks like it could be a defect in the IBM Record Generator 3.0.2, I recommend reporting this to IBM service.
Tom
------------------------------
Tom Ross
------------------------------
Original Message:
Sent: Fri November 08, 2024 04:13 AM
From: SrinivasaShashikanth Kotla
Subject: Error while processing ADATA file in IBM Record Generator 3.0.2 tool. No Idea issue with ADATA file or Tool.
I get the below error with adata file generate by cobol compiler when processed in the tool IBM Record Generator 3.0.2.
>"c:\Program Files (x86)\Java\jdk1.8.0_181\bin\java.exe" -cp ./ibm/* com.ibm.recordgen.cobol.RecordClassGenerator adatafile=ADATA_1.adata outputDir=. class=ADATA1ommareaWrapper IBM Record Generator for Java V3.0.2 Build 20221206-1121 on: Mon Nov 04 17:06:53 IST 2024 Running with Java version : 1.8.0_181 Error while processing file: ADATA_1.adata java.lang.IllegalStateException: specTree root is not a StorageSpec. May be caused by invalid or corrupt ADATA file, or incorrect symbol name. at com.ibm.recordgen.cobol.RecordSpecTreeBuilder.process(RecordSpecTreeBuilder.java:226) at com.ibm.recordgen.cobol.RecordClassGenerator.processFile(RecordClassGenerator.java:400) at com.ibm.recordgen.cobol.RecordClassGenerator.processLibrary(RecordClassGenerator.java:511) at com.ibm.recordgen.cobol.RecordClassGenerator.main(RecordClassGenerator.java:325) RecordClassGenerator failed to process at least one file; exitCode=8 |
------------------------------
SrinivasaShashikanth Kotla
------------------------------