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.
Answer Posted / 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 |
Post New Answer View All Answers
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
How to write record if no field or the field are different in physical file in rpgle ?
How to declare the pull button in AS/400..
How can we know running job is batch or interactive?
1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.
Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?
how do I declare a minor?
What is the difference between iter and do?
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.
what is the difference between do while and do until?
1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?
what is the necessary keyword needed to scroll subfile records?
are there any useful c runtime apis that I can call from rpg iv?
What is ment by record level identifier?
What is a record lock error?