SYNCHRONIZED Clause

The SYNCHRONIZED clause specifies the alignment of an elementary item in storage. To use the SYNCHRONIZED clause, specify the *SYNC compiler option on the CRTCBLMOD or CRTBNDCBL command.

Read syntax diagramSkip visual syntax diagram
SYNCHRONIZED Clause - Format

>>-+-SYNCHRONIZED-+--+-----------+-----------------------------><
   '-SYNC---------'  |      (1)  |   
                     +-LEFT------+   
                     |       (1) |   
                     '-RIGHT-----'   

Notes:
  1. Syntax-checked only.

When specified, the LEFT and the RIGHT phrases are syntax checked, but they have no effect on the execution of the program.

If synchronization is not specified, data is placed contiguously without filler space. If synchronization is specified, data is aligned along addresses which may be wholly divisible by 1, 2, 4, 8, or 16 bytes (where allowed - see Table 1). This may require the (implicit) use of filler space, should the preceding data item not use all the bytes between boundaries.

Related Information: