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

Every map is categorized into multiple fields, and there are three common working storage fields present for each of these respective fields. Mention those?

1052


How To Compile The COBOL-BD2-CI CS Programs In Real TIme? Please Give Me the Detailed Description?

6747


mention the option used in the cics read command to gain accessibility directly to the file i/o area. (Assume cobol-ii).?

1100


Mention the option used in a cics command to retrieve the response code after execution of the command?

1099


Explain ceci transaction commands?

1019


Explain how and where is the twa size set?

1082


What are the common tables in cics and their usage?

1008


What are the cics tables?

1081


I have done a start browse on a vsam dataset. Can I do another start browse without doing an end browse?

1073


Explain how to build up lu 6.2 communication?

1031


What is a transid?

1078


How can you use dynamic calls in cics?

1054


Can you explain dfheiblk?

1090


Can you define aica abend?

1150


What is meant by MDT? Furthermore, comment on FRSET and FSET ?

1129