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 sync clause?

Answer Posted / naveen

sync clause is specified with comp,comp-1 and comp-2items.these items are expected to start at half/full/double
word boundaries for faster address resolution.sync clause does
this but it may introduce slack bytes before the binary item.
exemple
01 ws-test.
10 ws-var1 pic x(02).
10 ws-var2 pic s9(6) comp sync.
assumes ws-test starts at relative location 0 in the memory,ws-var1 occupies zero and first byte .ws-var2 is expected to start at second byte. as the comp item in the example needs one word and it is coded with sync clause,it will start only at the next word boundary that is 4th byte.so this introduces two slack bytes between ws-var1 and
ws-var2.

Is This Answer Correct ?    15 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to refer the data field?

2317


IF I mention stop run in CICS what happens?

2421


What are the different open modes available in cobol?

1238


what is the difference between COBOL2 AND COBOL390?

3109


What are literals?

1183


How do u write test cases?

2108


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

1306


Are you comfortable in cobol or jcl?

1088


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

1126


Why would you use find and get rather than to obtain?

1255


What is the difference between binary search and sequential search?

1128


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

1278


What is a scope terminator give example?

1152


In which area will you utilize 88 level items in cobol?

1204


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

1300