how do u find whether a record is locked or not??
Answers were Sorted based on User's Feedback
Answer / sachin k gupta
Command DSPRCDLCK - Display record lock
Sachin Kr Gupta
| Is This Answer Correct ? | 11 Yes | 2 No |
Answer / samul
in rpg,*PSSr routine will call
u need to handle *status = 01218.
and while reading the record(If file is in update mode)
Klist Chain(N) Record
N: Extender to avoid the record lock whne file is in
update mode
Cheers...
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / ravi shankar porwal
One of the way is Use commond - CHKRCDLCK.
| Is This Answer Correct ? | 2 Yes | 7 No |
How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...
suppose i i am changing / updating record of subfile and i want to change the record in reverse order . means i want to change the bottom record first and so on through readc . how i do it please any one explain .
WHAT IS MONMSG IDENTIFIER FOR STRTCPFTP command IN cl (as/400)?
purpose of pannel group??/
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.
Why there is invention of RPG if we can do insert update delete in CL through SQL.Why the rise of RPG?
what are the array operations?
Hi friends, Can you give the solution for the below mention simple code.and explain.what is output D CHR1 S 4A INZ('PEN') D CHR2 S 10A INZ('MYGET') D CHR3 S 8A INZ('GOOD') D CHR4 S 22A INZ C MOVEL CHR1 CHR4 C MOVE CHR2 CHR4 C EVAL CHR4=CHR3 C MOVE CHR1 CHR4
what is the necessary command needed before OPNQRYF and why?
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
Why we cannot call a service program? If I add a PEP can i call the service program?
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.