Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is COMP SYNC?

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


Please Help Members By Posting Answers For Below Questions

What is the use of intialize verb?

1298


How you can characterize tables in cobol?

1250


For rewrite, why is it mandatory that file needs to be opened?

1148


What are declaratives and what are their uses in cobol?

1254


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

1481


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

2487


What is the default value(s) for an initialize and what keyword allows for an override of the default?

1261


How do you reference the fixed block file formats from cobol programs

1278


Difference between array and sub-script ?

1700


Write a program to explain size error.

1238


What kind of error is trapped by on size error option?

1286


What the difference is between continue and next sentence?

1215


What are the different rules for performing sort operation?

1272


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1687


what happens if parmparameter passes zero bytes to the program

2174