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...

Hai

I have a VSAM file and there are two CICS pgms A and B both
intends to update the file. How to code the program so that
it does not under go a dead lock situation.

Answer Posted / pramod

This can be done by pairing read/update and rewrite command. If record is read for update(read/update) then it must be rewritten, if after read/update record is not required to rewrite then it must be unlocked using unlock command.
One more cause is for deadlock is double update in pseudo-conversational program and this can avoided by coding a update identifier field.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does the 'ceci:cics' transactions do?

1080


What is journal recovery?

1032


What is meant by PPT and what are its uses?

1078


What is ENQ?

1048


Explain the different system tables used in cics?

998


Explain the function of the terminal control table?

987


what are the reserved words for cics?

1068


Give certain situations where NEWCOPY is obligatory?

1092


What do you mean by the term fct?

952


Explain the difference between the xctl and link commands?

1090


What is the difference between a return with transid and xctl?

1048


What do you mean by CEMT?

1230


How do we pass parameters into a CICS –DB2 program

4131


Can you define mapset?

1017


What are the common cics service programs and explain their usage?

1011