DSECT conversion utility

This information describes how to use the DSECT conversion utility, which generates a structure to map an assembler DSECT. This utility is used when a C or C++ program calls or is called by an assembler program, and a structure is required to map the area passed.

You assemble the source for the assembler DSECT by using the High Level Assembler, and specifying the ADATA option. (See High Level Assembler and Toolkit Feature in IBM Documentation for a description of the ADATA option.) The DSECT utility then reads the SYSADATA file that is produced by the High Level Assembler and produces a file that contains the equivalent C structure according to the options specified.

Note: The SYSADATA file can be either a PDS member, PDSE member or a sequential file, but cannot be a z/OS® UNIX file.