how do u find whether a record is locked or not??
Answers were Sorted based on User's Feedback
Answer / sachin k gupta
Command DSPRCDLCK - Display record lock
Sachin Kr Gupta
Is This Answer Correct ? | 11 Yes | 2 No |
Answer / 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 |
Answer / ravi shankar porwal
One of the way is Use commond - CHKRCDLCK.
Is This Answer Correct ? | 2 Yes | 7 No |
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
How can we override a file during runtime in rpg?
How can i check the object existance in RPG program without using QCMDEXC command.
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 can we override a file during runtime in RPG? Without using OVRDBF or calling a CL program
how can we find setll setgt chain read reade readp operations are successfull or not,give example.explain in detail.
Suppose I have 3 jobs a b and c. I want to submit b after successful completion of a and want to submit c after successful completion of b. Without using job scheduler or job queue, how can I do that through cl program?
what is estimation? and what is the level identifier parameter in PF?
Hi, can any one tell me :IN CASE OF SINGLE PAGE FILE HOW WILL I LOAD THE PREVIOUS PAGE WITHOUT THE USE OF SFLCLR INDICATOR ?
If I have a file with 5 record and that file has 2 Key field and I want to read the unique record of the file then how can we achieve it?
wat is the difference between dataarea and data queue?
5 Answers Airtel, Four soft, Shahi Exports,
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...