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 is interval control?
Explain how to build up lu 6.2 communication?
Explain the difference between a package and a plan. How does one bind 2 versions of a cics transaction with the same module name in two different cics regions that share the same db2 subsystem?
what are the differences between temporary storage queue (tsq) and transient data quene (tdq)?
What is the tcp in the cisc?
Explain the difference between dfhcommarea and tsq?
How to handle exceptional conditions in cics?
when an apllication is invoked via the exec cics start command with the from option, how does the application gain access to the common area?
Highlight the difference between a symbolic map and physical map?
Can you define temporary storage?
Explain what is a cursor in cics sql processing?
Explain the difference between getting the system time with eibtime and asktime command?
Explain the difference between physical map and symbolic map?
Can you define cics task?
what are the reserved words for cics?