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

What are the types of Signature validation?

1 Answers  


what is lokup opcode?

1 Answers   IBM,


What are the different types of specification available in RPG/400 ?

1 Answers  


How do you set the keywords SFLSIZ and SFLPAG if you want the subfile to dynamically expand?

1 Answers  


Which of the following operations does NOT zero the field FLDA defined as 4,0? C MOVE *ZEROS FLDA C Z-ADD *ZEROS FLDA C Z-ADD 0 FLDA C MOVE *ALL'0' FLDA C SUB FLDA FLDA C MOVE '0000' FLDA C CLEAR FLDA C MOVE *BLANKS FLDA

1 Answers  






1) Suppose we call a pgm from CL, how come AS400 system knows whether the called pgm is to be interactive one or batch one? 2)How many members can exist in a PF?

7 Answers  


what is the necessary keyword for non-join logical file?

1 Answers   IBM,


define subsystem?

1 Answers   IBM,


the maximum number of subfiles that can be active for a single file is ____ .

1 Answers   IBM,


What are the different types of keywords in display files?

1 Answers  


268 How many parameters can be defined in a RPG program. ?

1 Answers  


Why we are not able to perform insert delete and update operation in Join logical file?

0 Answers   IBM,


Categories