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
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 |
Answer / vikol
DSPRCDLCK is the command to check the record lock
Is This Answer Correct ? | 10 Yes | 0 No |
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 |
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 |
can anybody explain significance of *loval setll with example code????
how do I preserve and clean the array?
Can anybody tell me, does CL/400 handle LEVEL check while running the CL program....? plz share your experience...
How to read a record from file where there is multiple record occurrence is available?
how can an indexed file be used as arrival sequence in RPG?
wat is the difference between dataarea and data queue?
5 Answers Airtel, Four soft, Shahi Exports,
what is the use of sflnxtchg?
i hav 2 logical files(L1,L2) both r derived from one physical file(P1). how can i use both the logical files in one RPG program? if yes what i have to d.
1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?
i want code and what are used key words are ...like wrkmbrpdm screen (q) i have a file with 3 fields empno,empname,empaddr... here you give the empno it displays from that number to remaining empno's how? sub file screen: employee details pos to:empno then enter empno empname empaddr so file have 100 records from 1 to 100 so the above pos you give the 55 empno...it displays the from 55 to remaining... ...... please share this answel
how to change the length of the field in a physicalfile?
What are the values of NUM1 and NUM2 after executing the following code? CLONO1NO2NO3 Factorl÷÷+OpcdeFactor2+÷+ResultLenDHHiLoEq C MOVE *LOVAL NUM1 50 C MOVE *J-fIVAL NtJM2 52