COBOL

Expand all | Collapse all

Error while processing ADATA file in IBM Record Generator 3.0.2 tool. No Idea issue with ADATA file or Tool.

  • 1.  Error while processing ADATA file in IBM Record Generator 3.0.2 tool. No Idea issue with ADATA file or Tool.

    Posted 13 days ago
      |   view attached

    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
    ------------------------------

    Attachment(s)

    txt
    ADATA_JCL.txt   3 KB 1 version


  • 2.  RE: Error while processing ADATA file in IBM Record Generator 3.0.2 tool. No Idea issue with ADATA file or Tool.

    Posted 3 days ago

    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
    ------------------------------