What is COMP SYNC?

Answers were Sorted based on User's Feedback



What is COMP SYNC?..

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

What is COMP SYNC?..

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

What is COMP SYNC?..

Answer / anuradha

IT IS BROADCASTING WORD.

Is This Answer Correct ?    0 Yes 8 No

Post New Answer

More COBOL Interview Questions

What is the linkage section?

4 Answers  


What rules are to be followed while using the corresponding options?

1 Answers  


waht is inspect verb? where it can be in real time?

1 Answers   Patni,


what is dynamic array in cobol? what is the difference b/w array and table in cobol?

2 Answers  


When is a scope terminator mandatory?

3 Answers  


WE HAVE 2 FILES IN COBOL. ONE IS FIXED LENGTH RECORDS ANOTHER ONE IS VARIABLE LENGTH. IF I DECLEAR LRECL OF FIXED ONE AS 80 AND 2ND RECORD AS 132. WHAT WE NEED TO DECLEAR LRECL FOR THOSE 2 FILES IN JCL?

4 Answers   iGate,


How can you get the ksds file records into your cobol program?

1 Answers  


created cluster using IDCAMS ..that is empty ..when i write a program for read using Input ..wil it open the cluster or gives any error?

2 Answers   HCL,


How to open and see copy book ?

3 Answers  


Why there is no questions in this column?

6 Answers  


How to execute a set of JCL statements from a COBOL program?

2 Answers   Patni, Syntel,


What is the Purpose of POINTER Phrase in STRING command in COBOL?

1 Answers   Winsol Solutions,


Categories