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 |
can any body correct the following code? Following a procedure which returns the maximum of two numbers.Correct the following code. P GETMAX B D GETMAX PI D NUM1 35 0 D NUM2 45 0 C IF NUM1 > NUM2 C RETURN NUM1 C ELSE C RETURN NUM2 C ENDIF P GETMAX E
How Chain operation copies the record's data to the input buffer for the program?
in which journalling which attributes are necessary
Why did we give STRSRVJOB while debugging batch program
what is the equivalent keyword for CHAIN opcode ??
what was the robotech rpg?
wat is curser?? and its types???
Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?
How can read PF in reverse order (end to start) in CL pgm..
why subproc not run in dftactgrp?????/plz explain
A pgm subroutine calling child subroutine, that child subroutine again calling parent subroutine, u have 1000 lines of code, with out debugging , how can u find that error??? Is there any command to find errors in pgm???
Can AnyOne tell me how to read join logical file in rpg from starting to end?