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
Explain the difference between link xctl?
how can you prevent more than one user from accessing the same transient data queue?
Is length = 0 sufficient to ascertain that the field has been modified?
What is fset?
Define the term function request shipping?
Explain the difference between pseudo-conversational and conversational?
In a particular cics program, what is the procedure to allocate dynamic memory?
Can you define ppt and what are its uses?
What are the uses of ppt in cics?
Define cedf?
What are the cics tables?
Can ESDS files be accessed from CICS?
Explain the usage of language in the ppt entry?
Explain the system transid cemt?
How can you access esds files from cics?