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



To check the locks , we use cmd WRKOBJLCK , but how we confirm whether it's objeck lock / me..

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

To check the locks , we use cmd WRKOBJLCK , but how we confirm whether it's objeck lock / me..

Answer / sj

Do WRKOBJLCK then press F6 you will get Lock Type(MBR, DATA)

Is This Answer Correct ?    7 Yes 1 No

To check the locks , we use cmd WRKOBJLCK , but how we confirm whether it's objeck lock / me..

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

To check the locks , we use cmd WRKOBJLCK , but how we confirm whether it's objeck lock / me..

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

To check the locks , we use cmd WRKOBJLCK , but how we confirm whether it's objeck lock / me..

Answer / samul

How we confirm this object is being locked....?

Is This Answer Correct ?    3 Yes 3 No

Post New Answer

More RPG400 Interview Questions

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

0 Answers   iGate,


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.

0 Answers   IBM,


how can i retrieve the field name from display file at run time? Devendra Singh Tomar

3 Answers  


How can we override a file during runtime in RPG? Without using OVRDBF or calling a CL program

1 Answers   UST,


What is the purpose of PUTOVR keyword?

2 Answers  






How I can reread the physical file in CL program once the end of file reached in same CL program.

20 Answers   IBM,


how can we find setll setgt chain read reade readp operations are successfull or not,give example.explain in detail.

4 Answers   iSoft, Wipro,


how to display all the members records in a physical file without using ovrdbf?

9 Answers  


WHAT IS MEANT BY SIGNATURE VAILOTION ERROR

1 Answers   IBM,


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

1 Answers  


Write a program to display prime numbers between 1 to 100 using RPGLE.

1 Answers  


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 ?

2 Answers  


Categories