3.5.14
SYNCHRONIZED
3-38
The SYNCHRONIZED clause specifies positioning of an elementary item
within a computer word or words.
{
SYNCHRONIZED}
SYNC
{
LEFT}
RIGHT
This clause may appear only with an elementary item.
SYNCHRONIZED specifies that the COBOL compiler, in creating the internal
format of this item, must place the item
in
the minimum number of computer
words which can contain it.
If
the size of the item, explicit or implicit, is
not an exact multiple of the number of characters in a computer word, the
character positions between the item and the computer word boundary cannot
be assigned
to
another item. Such unused character positions are included in:
the size of any group to which the elementary item belongs; and
the complter memory allocation when the elementary item appears as
the object of a REDEFINES clause.
SYNCHRONIZED LEFT (SYNC LEFT) specifies that the elementary item is
positioned to begin at the left boundary of a com}Xlter word.
SYNCHRONIZED RIGHT (SYNC RIGHT) specifies that the elementary item is
positioned to terminate at the right boundary of a computer word.
When a SYNCHRONIZED item is referenced in the source program, the original
size of the item, as shown in the PICTURE clause is used in determining any
action that depends on size, such as justification, truncation, or overflow.
If
the data description of an item contains the SYNCHRONIZED clause and an
operational sign, the sign of the item appears in the normal operational sign
position of the computer whether the item is SYNCHRONIZED LEFT or
SYNCHRONIZED RIGHT.
When the SYNCHRONIZED clause is specified for an item within the scope
of an OCCURS clause, each occurrence of the item is SYNCHRONIZED.
(See OCCURS.)
Items described as SYNCHRONIZED in the File Section are assumed on input
to be synchronized on the external device, and on output are written in
SYNCHRONIZED form on external device.
If
the elementary item immediately preceding an item containing the
SYNCHRONIZED clause does not terminate at a word boundary, the remaining
character positions are regarded as FILLER and are not addressable.
60229400
Need help?
Do you have a question about the 3300 and is the answer not in the manual?