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 |
1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?
Interviewer asked me write down DDS for load all subfile .can anybody write dds
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.
i have 6 char field in program, but this field is using in all files i want to chage field size as 10 char , how can i do this except using *like defn...?
is this a rpg channel?
how can I tell when to replace the array?
if there is pf in two libraries and there is a logical file based on the PF, how to find the pf on which the pf is based.
Maximum how many files declare in rpgle
Difference between RESET and CLEAR
Write a program to display prime numbers between 1 to 100 using RPGLE.
1.Coding in cl to send an message? 2..What is turnover and use? What are the different levels?
write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen