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
What does the 'ceci:cics' transactions do?
What is journal recovery?
What is meant by PPT and what are its uses?
What is ENQ?
Explain the different system tables used in cics?
Explain the function of the terminal control table?
what are the reserved words for cics?
Give certain situations where NEWCOPY is obligatory?
What do you mean by the term fct?
Explain the difference between the xctl and link commands?
What is the difference between a return with transid and xctl?
What do you mean by CEMT?
How do we pass parameters into a CICS –DB2 program
Can you define mapset?
What are the common cics service programs and explain their usage?