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

Write some characteristics of cobol as means of business language.

0 Answers  


How to retain the Duplicates in the one records?

3 Answers   CS,


What are declaratives and what are their uses in cobol?

0 Answers  


What are the access modes of START statement?

0 Answers  


what is redefines? where it can be effectively use for the purpose of memory utilization? give an example?

4 Answers   IBM,






WHAT IS SOC3?HOW IT CAN BE RESOLVED?

1 Answers  


How is sign stored in Packed Decimal fields and Zoned Decimal fields?

6 Answers   ABC, HCL, TCS,


What is SQL Code -904 and -903 in DB2 And how to handle it?

1 Answers   IBM,


Explain what you understand by passing by value.

0 Answers  


There are two flat files one having 10 records and other having 5 records. write a cobol pgm to find the duplicate records(matching records)from both files.

1 Answers   Mind Tree,


We know that size of redefine and redefining need not to be same..Then does the below case true 01 ws-date pic 9(6). 01 ws-redf-date REDEFINES ws-date 05 ws-year pic 9(4) 05 ws-mon pic 9(2) 05 ws-day pic 9(2)

1 Answers   Cap Gemini,


Can anybody give me example of subscript and index

5 Answers  


Categories