What is COMP SYNC?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / padmanabha naidu.p
it will star with wordboundaries.while you are using sync
clause you wiil get slack bytes.
Is This Answer Correct ? | 10 Yes | 4 No |
suppose a cobol programme A calling programme B,C and D. If C undergoes some change what if A,B,C,D need to be recompiled or only C nee to be recompliled.
Write a cobol program making use of the redefine clause.
Under which scenario you would go for a static call as opposed to dynamic call?
S9(5)V9(2) occupies how many bytes memory ?
Which is not true about evaluate statement
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
how can we get current dat and time thru cobol pgm
What rules are followed by the search verb.
Can the OCCURS clause be at the 01 level?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
What are the different rules for performing sort operation?
if one main program ,n -subprograms are then which call you follow ?why reasonuhg