Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

steps for debugging two rpg programs????

4 Answers  


In case if I want to know whether a record exists in a file, which one do you prefer CHAIN or a SETLL and why ?

1 Answers  


What are the commands that can be executed in CLP but not in RPG? Why?

1 Answers   CSC,


wat is scan and check ? give me real time scenarios where we used these keywords in ur projects?

2 Answers   Four soft,


in a cl pgm records are copied to a file in qtemp a pgm is called to delete records from the file in qtemp no of records in file in library qtemp is checked wat shud be the count of records let say it was 10 initially endpgm

2 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  


can anyone explain aboutovrOVRDBF,OPNQRYF, OVRSCOPE and OPNSCOPE?

2 Answers   TCS,


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

4 Answers   iSoft, Wipro,


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,


Assume my file has 100 records and I want to see only first 10 records. Is this possible through lf?

1 Answers  


what is file information data structure?

1 Answers   IBM,


2. Which of the following statement(s) explains the difference(s) between the /INCLUDE and ICOPY directives? a.) No difference, they function the same b.) ACOPY cannot be used as a conditional directive c.) IINCLUDE files cannot contain embedded SQL d.) Nesting /TNCLUDE directives is not allowed

2 Answers   IBM,


Categories