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
Every map is categorized into multiple fields, and there are three common working storage fields present for each of these respective fields. Mention those?
How To Compile The COBOL-BD2-CI CS Programs In Real TIme? Please Give Me the Detailed Description?
mention the option used in the cics read command to gain accessibility directly to the file i/o area. (Assume cobol-ii).?
Mention the option used in a cics command to retrieve the response code after execution of the command?
Explain ceci transaction commands?
Explain how and where is the twa size set?
What are the common tables in cics and their usage?
What are the cics tables?
I have done a start browse on a vsam dataset. Can I do another start browse without doing an end browse?
Explain how to build up lu 6.2 communication?
What is a transid?
How can you use dynamic calls in cics?
Can you explain dfheiblk?
Can you define aica abend?
What is meant by MDT? Furthermore, comment on FRSET and FSET ?