COBOL, Directives, ALIGNMENT Directives
*Conan The Librarian
The syntax of the ALIGNMENT directives is as follows: *DC SET ALIGNMENT *DC SET NOALIGNMENT *DC END-SET ALIGNMENT You can use these ALIGNMENT directives to alter the current alignment for binary data by specifying new alignment information from within your source program. The SET ALIGNMENT directive specifies natural alignment. The SET NOALIGNMENT directive specifies OpenVMS VAX compatible alignment. The END-SET ALIGNMENT directive terminates the current SET ALIGNMENT (or SET NOALIGNMENT) directive. You can also nest these ALIGNMENT directives within a source program by specifying dirrerent alignments for a set of data items. For more information about the ALIGNMENT directives, see the online help on /ALIGNMENT and the COBOL User Manual.