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
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.
How Chain operation copies the record's data to the input buffer for the program?
how does the rpg element work?
what is the difference between do while and do until?
what is data area and how it is used in rpg program ?
what do you mean by an input subfile, what are the keywords required?
can I touch the array during treatments?
how can you display specific subfile page on the screen in unequal subfile?
When it is desirable to describe files Internally?
how can I tell when to replace the array?
Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.
If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
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?
what is an online rpg?