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 |
are there any useful c runtime apis that I can call from rpg iv?
what is the equivalent keyword for CHAIN opcode ??
can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com
The PGMA calls PGMB.PGMB generates a report.The report should contain the called program name(PGMA).How do i get the called program name in PGMB to print it on the spool file?(calling program name should NOT be hard coded or passed as parameter to called program?
what is the necessary command needed before OPNQRYF and why?
we hav job which is running as batch. it takes atleast 06hours to complete tht job. bu i wana do tht job with in 3hours.........? so plz post ur answers
Why we cannot call a service program? If I add a PEP can i call the service program?
What is the Record Address file. How can we use it in RPG program?
parameters cannot be passed in which one??
How can a screen field that has changed since the last output operation be detected?
How to sort an array in descending in RPG
Why did we give STRSRVJOB while debugging batch program