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 the advantage of sync class

Answer Posted / nagaraj ramamoorthy

The purpose of the SYNC clause (when it was introduced) was
to align the data names to the natural machine word
boundaries so that it will be efficient to retrieve data.
This was introduced when the processing speed was very slow
and system was built on word architecture. Modern systems
are quite fast and this does not make significant
difference.

It can be used to numeric and alphanumeric data items. you
can also specify how to align RIGHT/LEFT. if you do not
specify, complier will take the best one that is efficient.
It should be used with 01 and 77 levels and it should not
be used with group items, because compiler will add
bits/bytes in between group items so finding the exact size
will be difficult for the programmer.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is length is cobol?

1154


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

1285


IF I mention stop run in CICS what happens?

2425


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

1263


) how do u code after getting data?

2208


How do you reference the following file formats from cobol programs?

1202


Which Search verb is equivalent to PERFORM…VARYING?

1104


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

1293


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

1165


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

2491


In COBOL programming, what is PERFORM? What is VARYING?

1206


What are all the divisions of a COBOL program?

1267


what is search and searchall?what is the diffrence between them?give an best example?

6919


What are the rules of the move verb?

1321


What are the various section in data division and briefly explain them.

1251