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

What is the purpose of record level identifier?

0 Answers  


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  


suppose a job is running for 15 minutes after that it goes to message wait? what are the impact analysis

1 Answers  


Have a join logical file with more than one members with different record formats. So how can we read the different members from this file and also how we can read the different record format from the join logical?

3 Answers  


difference between CHAIN and READE?

8 Answers   HCL,


I have a Physical File name 'File1', which is present in two libraries named 'LIB1' & 'LIB2'. These 2 libraries are listed in the library list. Would like to access data from this file from these two libraries using RPG program. How to do this, any idea?

4 Answers  


How to find d key field of a pf that doesn’t have source physical file?

2 Answers  


How can we find out whether the job is interactive or Batch through RPG program? 2) How can we find out through CL program?

6 Answers   CSC,


How can we change element of compile time array?Can we do so

1 Answers   TCS,


wat is the difference between dataarea and data queue?

5 Answers   Airtel, Four soft, Shahi Exports,


What is file identifier where we can use?

0 Answers  


check existence of one record without using chain or read?

1 Answers   IBM,


Categories