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

where we give the MSGSFL in rpg400?

4 Answers  


1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?

1 Answers   HCL,


i want to perform uniqness on db file bt my db file nt hving key by useing rpgle.

3 Answers   HSBC,


1.I Have a physical file , i want to read the data from the each and every member of the File in the CL Program.How do you achieve this. 2.How do you do the same in RPG?. do think is it possible to read data from all the members in the RPG?

2 Answers   Cap Gemini,


we are sending data of physical file to screen design and it is showing no record why?

1 Answers   NTT Data,


In RPG program one file using as a PRIMARY file while running program some of the records reading twice any body know why its happening

2 Answers  


suppose if we want to update the data in cl what we will do?

9 Answers  


if there is pf in two libraries and there is a logical file based on the PF, how to find the pf on which the pf is based.

2 Answers   TCS,


I know chain keyword retreive records randomly but how chain keyword exactly works internally????

4 Answers  


WHAT IS MONMSG IDENTIFIER FOR STRTCPFTP command IN cl (as/400)?

3 Answers  


3. Given the DOS Specification below and the following information: • Indicator 50 is off • No records have been written to the subfile What will be the result if the EXFMT operation code is performed on the record format CTLR? A R SUBFL A DESCRIP 101 6 1ODSPATR(UL) A DFT(’NOT FOUND’) A R CTLR SFLCTL(SUBFL) A N50 SFLDSP A SFLDSPCTL A SFLINZ A 67 SFIJEND A SFLSIZ(13) A SFLPAG(12) A ACCOUNTNO 100 S 10 a.) Only AccountNo will display b.) SUBFL will be initialized with 13 blank records c.) An I/O exception error will occur d.) The screen will display 12 records with ‘NOT FOUND’

4 Answers   IBM,


If the last record of a file has been read, and the next operation on that file is a READ operation, what will be the values of the input fields for that file? A. They will be blank and/or zero. B. They will be null. C. They will equal the values of the first record in the file. D. They will equal the values of the last record read.

3 Answers  


Categories