what is meant by object lock requests,held locks and locks
waiting to be applied(wrkobjlck)
why should we apply for locks.Please explain sir.

Answers were Sorted based on User's Feedback



what is meant by object lock requests,held locks and locks waiting to be applied(wrkobjlck) why s..

Answer / sivaprasad

whn we r updating the record we provide lock for no one use at that time...........
we hav 2 types of locks
.....>exclusive lock & shared lock
to unlock
use relrsc(reclime resourse)

Is This Answer Correct ?    2 Yes 1 No

what is meant by object lock requests,held locks and locks waiting to be applied(wrkobjlck) why s..

Answer / shishir

suppose we want to make any update on particular file A and during my process one more guy doing another updation on that file A ....so what happen that who ever make the last updation and compile the file will take place ....so what we do we hold that particular object and lock it ....so during the time when we are using that file no one will access that file ........ok ....and updation will take place step by step

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More IBM AS400 AllOther Interview Questions

Hello, I have created a CMD type object. In one of the fields in Display file , I would like to see All the Source files present by pass the name of Library. Tried using CHoice(Keyword) and Choicepgm on PARM , but doesn't seems to be working. Any help please..

0 Answers   BlackRock,


What is binder language ?

0 Answers  


how can you detect overflow for a print program that prints multiple lines per cycle?

1 Answers   IBM,


Why we sometimes use same file name in file and tofile in ovrdbf and sometimes different?

0 Answers  


how do handle file exception/error?

0 Answers   IBM,






What is a query can be displayed without saving it?

0 Answers   IBM,


What is the purpose of the following? I 'CLOSED' C STAT01 I 'OPEN' C STAT02

1 Answers  


What is primary file? How many primary file can be declared in a RPG program?

3 Answers   IBM, Valtech,


Hi All, Can any one give me a suggestion for below prob One job is in MSGW due to decimal dara error and I find out stmt error and Value in DMUP. but my file has millions of records.So how can i find out on which record the error was occured....?

3 Answers  


What is a Library in AS/400?

2 Answers  


how to toggle between single line and multi - line display of a particular record in a subfile?

1 Answers   IBM,


write the SQL statement to retrieve the 2nd Highest salary ammount(File Name="EMPLOY",Field Name="SALARY")

6 Answers   Bally Technologies, Cognizant, Vertex,


Categories