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...


what is meant by record lock.how records are locked.what is
the purpose of record lock.if records are locked what
happens.how to find out which record is locked.

Answers were Sorted based on User's Feedback



what is meant by record lock.how records are locked.what is the purpose of record lock.if records ..

Answer / harshad r suryawaunshi

Record lock in simple terms means that it is in the use. To
find out which record is locked you can see WRKOBJLCK -> #5
(work with job)-> 14 (opne Files)->F11(I/O details)->
relatinve record numbner of the file. There are various way
to find out the record in use but finally it comes to
option 14 and from there onwwards same steps are followed.

Is This Answer Correct ?    14 Yes 0 No

what is meant by record lock.how records are locked.what is the purpose of record lock.if records ..

Answer / vikol

DSPRCDLCK is the command to check the record lock

Is This Answer Correct ?    10 Yes 0 No

what is meant by record lock.how records are locked.what is the purpose of record lock.if records ..

Answer / nd

Refer to the following command for lock processing.
Also check the ILE condition handlers and APIs for record
lock processing.

Allocate Object
ALCOBJ
Check Record Locks
CHKRCDLCK
Deallocate Object
DLCOBJ
Display Optical Locks
DSPOPTLCK
Display Record Locks
DSPRCDLCK


Release File System Locks
RLSIFSLCK
Work with Object Locks
WRKOBJLCK

Is This Answer Correct ?    0 Yes 0 No

what is meant by record lock.how records are locked.what is the purpose of record lock.if records ..

Answer / hariharasudhan

DSPRCDLCK is only to see the locks in the PF's. WRKRCDLCK is for all types of Files.

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More RPG400 Interview Questions

How to change the name of physical members Dynamically?

1 Answers  


parameters cannot be passed in which one???

4 Answers   CTS,


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

1 Answers   NTT Data,


How can we override a file during runtime in RPG? Without using OVRDBF or calling a CL program

1 Answers   UST,


there is any limit to display the members in rpg400?

3 Answers  


Why we cannot call a service program? If I add a PEP can i call the service program?

1 Answers   DELL,


Suppose we add one field in physical file and this physical file is used by several programs.how do we know which program is using that file? What are the impact analysis.

6 Answers  


Why Rpg/400 is Famous?

2 Answers   IBM,


How do you proceed in case your active AS400 session has got disconnected suddenly, how can you get back to your session ? Is it possible??

1 Answers  


I have one cl program which calls two rpg programs named a & b. I am loading a run time array in Pgm A and the control comes back to cl pgm. i call pgmb and I want to read the runtime array in pgmb which was loaded in pgma. How it can be acheived. I should not use any intermediate file or dataarea to store the loaded values.

2 Answers  


Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?

0 Answers  


please help me answer to this question what is the difference between the binding and srvpgm in ilerpg?

4 Answers   HCL,


Categories