how do u find whether a record is locked or not??/
Answers were Sorted based on User's Feedback
Answer / syam
DSPRCDLCK cammand will give locked record details
| Is This Answer Correct ? | 16 Yes | 0 No |
Answer / madanmohan
If you know the RRN number of the record for which lock is
checked then in that case you can use DSPRCDLCK cmd.
To know the RRN number of specific record, use SQL statement
select RRN(A), A.* from FILE A where condition of the key
value.
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / rajgoaj
Additional information:
Use WRKLCK to see whether the file is locked.
| Is This Answer Correct ? | 1 Yes | 16 No |
how to change the length of the field in a physicalfile?
1.What is referential Integrity? 2.What is Foreign Key? 3.What is Transfer Control? 4.What is Free format?
program to find the number of objects used in a given program through a display.
there is any limit to display the members in rpg400?
What is Multi Occurrence Data Structure(MODS)?
Can a indexed file be accessed in arrival sequence in RPG?
what are the types of identifers
Q1.How we can copy the data of file one session to another session? Q2.how we can execute a loop infinitely in AS/400 coding? Q3.In ALDON tool,multitask is posible on a perticular object by the user?
Can you copy the records created by the OPNQRYF to other files and how?
how to display all the members records in a physical file without using ovrdbf?
How can i check the object existance in RPG program without using QCMDEXC command.
suppose there are 100 records and i want to read records between 60-70 how we can read this 10 records in rpg