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 |
thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.
how can i retrieve the field name from display file at run time? Devendra Singh Tomar
How can we override a file during runtime in RPG? Without using OVRDBF or calling a CL program
What is the purpose of PUTOVR keyword?
How I can reread the physical file in CL program once the end of file reached in same CL program.
how can we find setll setgt chain read reade readp operations are successfull or not,give example.explain in detail.
how to display all the members records in a physical file without using ovrdbf?
WHAT IS MEANT BY SIGNATURE VAILOTION ERROR
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
Write a program to display prime numbers between 1 to 100 using RPGLE.
HI,1: What is the function of 'SETON LR' AND '*INLR=*ON ? 2:Can we used "seton lr" OR "*INLR = *ON" in between the program code ? 3:if yes then according to there function the code which is written acter seton lr/ *inlr should not be execute . Can any one tell me why those code get executed ?