As a member of the compiler team, I can't comment on how another tool is using the ADATA file. The error could very well be in the other tool. It would help to know what error message you got from the other tool, as well as any error messages you got from the compiler.
As far as the compiler goes:
- ADATA is the only option you need for the compiler to create an ADATA file.
- The ADATA accurately reports errors encountered during compilation, so if there were any compiler errors, I'd expect that another tool using the ADATA might not succeed either.
- ADATA generation should be successful for ANY valid program, no matter how big or small, no matter how many copybooks it uses, as long as compilation is successful.
------------------------------
Mike Chase
Enterprise COBOL Developer
mike.chase@ca.ibm.com------------------------------
Original Message:
Sent: Tue October 29, 2024 02:27 AM
From: SrinivasaShashikanth Kotla
Subject: How Do You Create an ADATA File when Compiling a COBOL Copybook?
Hi, Attached is the Adata file generated after compiling a copybook using a dummy program. But it was not helpful. Java copy generation ended in error.
I think Adata file is not poperly generated with right options. Any specific compile options to be used and also the dummy cobol program is enough to be a simple one
or need a Cobol+CICS program.
Kindly help me and suggest .
------------------------------
SrinivasaShashikanth Kotla
------------------------------