how can you detect and handle a record lock situation?
Answer Posted / rinku khan
If you try to read the locked record, we can get system defined message i. e. , the program will ended abnormally. With the help of File Information Data Structure we can handle record lock situation.Generally it will happen, when the same file of type " U" used in different programs.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
WHAT IS FERERENTIAL INTRIGRITY ?
what key word is used when screen is re-display?
which are the string manipulation opcodes?
1. There is a file called Month. Month has 12 members called Jan, Feb, ..., Dec. How to design a rpg code which can access any member and show its content. (User can ask for any member when required)?
where will control be passed after the execution of the *pssr subroutine if the factor2 of the endsr is blank ?
how to run other job when one job is active?
what are various techniques to pass parameters from one program to another?
what are the different types of variables available in cl?
which cl command is used to trap error messages during program execution?
Hello, I have created a CMD type object. In one of the fields in Display file , I would like to see All the Source files present by pass the name of Library. Tried using CHoice(Keyword) and Choicepgm on PARM , but doesn't seems to be working. Any help please..
what is the purpose of indicators in rpg?
How to avoid using indicators in ile ?
what is meant by object lock requests,held locks and locks waiting to be applied(wrkobjlck) why should we apply for locks.Please explain sir.
define the purpose of the *bcat function?
How to debug a batch job when it is in messagewait(mswg) status. I know the steps for batch ebugging, but im confusing with when we submit any job for batch debug we put in held state. So here also do same thing or any other way?