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 |
What is the purpose of FRCDTA keyword?
i want to retrieve record b/w 2 dates in as400
We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?
Can we trigger an rpg program which has user interaction with display file when updating a file using the command ADDPFTRG?
check existence of one record without using chain or read?
which program rpg or cl is efficent to update a transaction onto a database file and why ?
When PGMA calls PGMB for the first time PGMB executes the *INZSR. PGMB uses the RETRN operation to return to PGMA. When PGMA call PGMB the second time is the *INZSR executed?
How to identify the object has compiled with the debug view as *source without using STRDBG?
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?
how do I play {insert rpg system here}?
How can we make use of SETLL operation in CL?
we are sending data of physical file to screen design and it is showing no record why?