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
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?
can error messages as a result of a comp, range or values keyword be overridden?
What is program status data structure(psds) in as400?
how you get the relative record in a subfile in which cursor is located?
what is the maximum number of parameters allowed in rpg?
How can we arrange duplicate records in a file?
define the purpose of the leave operation?
Service Program : S1 Modules in S1 : M1 M1 having two procedures : ADD, SUB Current Binder Language STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP Doubt: I need to add one new Module to the Service Program M2 having one procedure ‘MULT’ How to add this new module to the service program S1 ? If I need to recreate the service program again, Do I need to mention the Module M1 again while recreating along with new Module M2? There is no Binding Directory. Binder language structure will be like this STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") EXPORT SYMBOL("MULT") ENDPGMEXP STRPGMEXP PGMLVL(*PREVIOUS) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP
which of the following operations does not zero the field flda defined as 4,0?
what does check opcode do ?
how do handle file exception/error?
the maximum number of subfiles that can be active for a single file is ____ .
how to pick up the changed records every time in a subfile after the first change made ?
what is sflpag and sflsiz ?
what are the different types of arrays available in rpg ?