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

Define cics interface block?

1042


Add a field to screen when what's the flow of impact?

2955


Explain the different ways of initiating transaction in cics?

995


What is the use of the program list table?

1125


What is meant by an AICA ABEND?

1225


Sync points cannot be requested by the application programs? State true or false

1202


What is the comaera (communication area)?

1160


What is the pic clause for the any bll cell type of data fields?

1124


what are transient data sets defined to cics?

1243


What does the 'ceci:cics' transactions do?

1154


How is Telon(CA-Telon) used to build map?

4671


specify the requirements for automatic task initiation. (Mention the control table, it is entries and the corresponding procedure division cics command).?

1198


Explain cedf transaction commands?

1186


Can you define commarea?

1043


what is effect on receive map when

1320