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
Define cics interface block?
Add a field to screen when what's the flow of impact?
Explain the different ways of initiating transaction in cics?
What is the use of the program list table?
What is meant by an AICA ABEND?
Sync points cannot be requested by the application programs? State true or false
What is the comaera (communication area)?
What is the pic clause for the any bll cell type of data fields?
what are transient data sets defined to cics?
What does the 'ceci:cics' transactions do?
How is Telon(CA-Telon) used to build map?
specify the requirements for automatic task initiation. (Mention the control table, it is entries and the corresponding procedure division cics command).?
Explain cedf transaction commands?
Can you define commarea?
what is effect on receive map when