what is meant by record lock.how records are locked.what is
the purpose of record lock.if records are locked what
happens.how to find out which record is locked.
Answers were Sorted based on User's Feedback
Answer / harshad r suryawaunshi
Record lock in simple terms means that it is in the use. To
find out which record is locked you can see WRKOBJLCK -> #5
(work with job)-> 14 (opne Files)->F11(I/O details)->
relatinve record numbner of the file. There are various way
to find out the record in use but finally it comes to
option 14 and from there onwwards same steps are followed.
Is This Answer Correct ? | 14 Yes | 0 No |
Answer / vikol
DSPRCDLCK is the command to check the record lock
Is This Answer Correct ? | 10 Yes | 0 No |
Answer / nd
Refer to the following command for lock processing.
Also check the ILE condition handlers and APIs for record
lock processing.
Allocate Object
ALCOBJ
Check Record Locks
CHKRCDLCK
Deallocate Object
DLCOBJ
Display Optical Locks
DSPOPTLCK
Display Record Locks
DSPRCDLCK
Release File System Locks
RLSIFSLCK
Work with Object Locks
WRKOBJLCK
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / hariharasudhan
DSPRCDLCK is only to see the locks in the PF's. WRKRCDLCK is for all types of Files.
Is This Answer Correct ? | 1 Yes | 3 No |
how to find whether a date format is valid or not in RPG400 not in RPGILE.Can you please write the coding for this sir,i'm new to AS400.Please help.
Assume my file has 100 records and I want to see only first 10 records. Is this possible through lf?
please help me answer to this question what is the difference between the binding and srvpgm in ilerpg?
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?
ESCAPE message sent by child program can be handled by parent program using which keyword?
In how many ways a session/device error occurs,,, and what is the remedy for it?
1) How to define keyed file in CL pgm. 2) How can i read particular records in CL pgm from database file.
suppose one file is used by 100 user and file is locked by 100 user, what are the impact analysis?
What would be the effect on the field where reverse image, underline and high intensity?
1.I have a Batch job, Running for 4 hours, i want to reduce the executing time to 2 hours what should you do?
where we give the MSGSFL in rpg400?
i want to perform uniqness on db file bt my db file nt hving key by useing rpgle.