Creating ADATA files with IBM High Level Assembler
The ADATA file that is required as input to IBM® Record Generator for Java™ is a file that contains specific record information about the program that is collected during assembly. The file can be a traditional MVS™ data set or a z/OS® UNIX file.
To create an 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 assembler job. For example:
//ASSEMBLE EXEC ASMAC,PARM='ADATA,LIST,NOTERM,NODECK,NOOBJECT'
//C.SYSLIB DD
// DD DSN=SYS1.MODGEN,DISP=SHR
The assembler produces the ADATA file that contains additional program data.
//SYSADATA DD DSNAME=DSNAME,DISP=(OLD,DELETE)If you want to use the ADATA file on your local workstation as input for the IIBM Record Generator for Java, transfer it in binary mode to prevent data corruption.
For details, see Associated data file output in the HLASM documentation.