Creating ADATA files with the IBM Enterprise COBOL for z/OS compiler
The ADATA file that is required as input to IBM® Record Generator for Java™ is a binary file that contains specific record information about the program that is collected during compilation. The file can be a traditional MVS™ data set or a z/OS® UNIX file.
To create the ADATA file that can be used as input to IBM Record Generator for Java, add the ADATA option
to the list of options in the PARM parameter on the EXEC statement of the COBOL compiler job. For
example:
//COBOL EXEC PGM=IGYCRCTL,REGION=200M,
// PARM=(NODYNAM,RENT,LIST,MAP,XREF,CICS,ADATA)
The compiler produces the ADATA file that contains additional program data.
You control the location of this file by using the SYSADATA DD statement on the COBOL compiler
job. For example:
//SYSADATA DD DSNAME=dsname
If you want to use the ADATA file on your local workstation as input for IBM Record Generator for Java, transfer it in binary mode to prevent data corruption.
For details, see COBOL SYSADATA file contents in the IBM Enterprise COBOL for z/OS documentation.