how do u find whether a record is locked or not??
Answer Posted / samul
in rpg,*PSSr routine will call
u need to handle *status = 01218.
and while reading the record(If file is in update mode)
Klist Chain(N) Record
N: Extender to avoid the record lock whne file is in
update mode
Cheers...
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
How would display prime numbers using CL program?
how can you display specific subfile page on the screen in unequal subfile?
Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?
explain sflclr, sflend, sfldlt, and sflcsrrrn?
what is data area and how it is used in rpg program ?
Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?
what is a rpg?
Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?
How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...
how do I declare a minor?
what was the robotech rpg?
how do I declare a table or array in rpg iv?
If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?
How to call one program from another program in RPG? please help me with the code
How to handle duplicate error handling in RPG?