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 can we receive values from a called procedure in RPG?
Suppose i am having 3 programs PgmA,pgmB,pgmC and using source debugger. At debugging time i found that pgmC having some code error..then in debug mode directly how can i debug pgmC
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.
we hav job which is running as batch. it takes atleast 06hours to complete tht job. bu i wana do tht job with in 3hours.........? so plz post ur answers
how to find whether a date format is valid or not in RPG400 not in RPGILE.Can you please write the coding for this sir,i'm new to AS400.Please help.
what is the use of sflnxtchg?
How to search particular records from the database file in rpg?
How to call one program from another program in RPG? please help me with the code
can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.
What are the types of identifiers?
Anybody know the difference of primary file and full procedural file
In single page subfile,if I select the mutiple options in 1 page and without pressing enter,I press rollup key (pagedown).In such case how I can handle it in rpg becasue in single page we have to handle it in pgm. It would be helpful if any one answer with coding
4 Answers Infinite Computer Solutions,