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

What are the cobol coding sheets?

1170


What type of SDLC u followed? Why?

1954


How do u write test cases?

2011


Write a program that uses move corresponding.

1071


What is Pic 9v99 Indicates in COBOL?

1176


IF I mention stop run in CICS what happens?

2302


How do you define a variable of comp-1 and comp-2?

1135


) how do u code after getting data?

2068


i want a program using by if, evaluate , string, unstring, perform, occurs?

4634


explain sorting techniques in cobol program?

1142


Explain how you can characterize tables in cobol?

1008


How to remove 2 duplicate records and copy only one using job control language?

1168


Write the code to count the sum of n natural numbers.

1141


Write a cobol program making use of the redefine clause.

1120


how do you reference the rrds file formats from cobol programs

1492