To check the locks , we use cmd WRKOBJLCK , but how we
confirm whether it's objeck lock / member lock.
I confused with the Lock type and Status values...Can any
body please tell me ...
Answers were Sorted based on User's Feedback
Answer / naveen chandra joshi
Please make sure that your question is correct !!
If any object is locked then by default its member will
also be locked.
I dont think there is any way to find out whether a member
is also locked or not...
As per my understanding, WRKOBJLCK is sufficient.
| Is This Answer Correct ? | 9 Yes | 2 No |
Answer / sj
Do WRKOBJLCK then press F6 you will get Lock Type(MBR, DATA)
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / mohdmuzammil
Do WRKOBJLCK and then press it will show the file locks.
after that press F6 you will get the member lock
information.
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / syam
Better use WRKACTJOB, you can find anyone of user's status
shows WAIT, then otion 11 enter you will get which Object
locked then that wait object type 8 option to find the
record.
or
WRKOBJLCK Objname Libname *file(file type) then enter, you
will get list of all users using same object there you can
find WAIT status.
| Is This Answer Correct ? | 4 Yes | 1 No |
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.
Can more than one subfile record be displayed on one line?
without logical file we cannot access the data in physical file.but we specify physical file in the program(ie:- Ffile IF E k disk).how can it be accessed?
I need to generate outfile for object of all the user lib. in the sysmte using cmd DSPOBJD. But this cmd is correcpted in my server,Any body tell me is there any alternative...?
wat is curser?? and its types???
how to check on which PF , the LF is dependant ?
what is the difference between SETON RT & RETURN?
how do I do concatenation in rpg iv, like I do in cl?
RPG/400 faqs?
HOW TO DELETE THE RECORD FROM MASTER FILE WHICH IS LINK BY ANOTHER TRASATION FILE WITH REFERTIAL INTYGRITY?
What is the name of default out queue when user logs inn to syatem with valid profile?
The RP program is displaying records 11 times .But there are 10 records in a pf.(ie last record is displayed twice).How to display records only 10 times?