Answer Posted / deepak goyal
Causes the item to be aligned on natural boundaries. Can be
SYNCHRONIZED LEFT or RIGHT.
For binary data items, the address resolution is faster if
they are located at word boundaries in the memory. For
example, on main frame the memory word size is 4 bytes.
This means that each word will start from an address
divisible by 4. If my first variable is x(3) and next one
is S9(4) COMP, then if you do not specify the SYNC clause,
S9(4) COMP will start from byte 3 ( assuming that it starts
from 0). If you specify SYNC, then the binary data item
will start from address 4. You might see some wastage of
memory, but the access to this computational field is
faster.
| Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
Give some examples of command terminators?
In COBOL, what is the different between index and subscript?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
how do you reference the ksds vsam file formats from cobol programs
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
What is the utilization of copybook in cobol?
how do you reference the rrds file formats from cobol programs
i need a small 3d program using inline and outline.
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
How are the next sentence and continue different from each other?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
how do you define single dimensional array and multidimensional array in your cobol?
How do get the result of your program directly on your pc?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?