The short form of the ADS has fields that are not fullword aligned, whereas the long form of the ADS has all its fields fullword aligned.
The short form of the ADS is generated by default by map assembly. In order to obtain the long form of the ADS, you must assemble your BMS maps with the following parameters specified in the DFHMSD macro:
MSETNAM DFHMSD
·
·
·
DSECT=ADSL, * LANG=C, *
·
·
·
If you examine the DSECT that is produced on map assembly, you will see that all of the fields are fullword aligned. Be aware that this significantly increases the size of the application data structure and any message which includes it.
This option is only available for programs written in the C-language. However, It is possible to create COBOL data structures from such a DSECT by manually creating them. The redbook CICS Transaction Server for OS/390 Version 1 Release 3: Web Support and 3270 Bridge gives examples of this.
There are two forms of the application data structure descriptor: