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

Suppose you have 3 members in a database file. How to read records from all the members without using CL (OVRDBF) i.e. Entire process should be handled exclusively in a RPG program?

7 Answers  


3 members in databasefile .how to read records from all the members??

6 Answers   CTS,


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

4 Answers  


Anybody know the difference of primary file and full procedural file

4 Answers  


How do you do indexing in a physical file?

2 Answers  


Can we possible to key with the date field?

1 Answers   IBM,


Need a sql query: retrive all duplicate records in table

3 Answers  


Can we trigger an rpg program which has user interaction with display file when updating a file using the command ADDPFTRG?

2 Answers  


there is any limit to display the members in rpg400?

3 Answers  


how to retrieve particular field records from a physical file,say i have a physical file called 'employee' in it i have to retrieve the records of a field 'admin' present in pf 'employee' using rpg,but i should not use logical file or openquery file.

3 Answers   iGate, Wipro,


Can a run time array be declare like below with no specified number of elements ? Is it possible ? DFLD_ARRAY 7 DIM() INZ(*blanks) What does this mean ? Does this mean that the number of array elements will be dynamically declared during run time ?

1 Answers   TCS,


when will come session device error?

4 Answers   TCS,


Categories