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 |
Hello, I want to extend a length of field in my Display file(Subfile). Please suggest the possible steps. Thanks
use of PUTOVR,OVRDTA,KEEP keywords?
Hi, Can any body tell me ur experience on this questions? Questions: 1.what is the use of SFLRCDNBR other than subfile page display? 2.Which of the following operation cannot be used in conjuction with a file coded as device type disk?
How can we receive values from a called procedure in RPG?
I have a PF(ABC)with no key fields. PF(ABC)have 2 fields (cusno and cusname). Please let me know how can i read the cusno = 1150 directly from PF in CL and RPG program(Without creating the LF and without reading the complete file and then compare 1150)
in rpg could u please tell me errors types and meanings like 3030 that ....
Hi,Please give me complete code with this logic. The question is how to read the records from a file with load an array of size with error condition? (The logic is Z-Add 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN9 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO)please give me complete code with explanation?
how we create binder member for updating service program and where we type this code on command line or in program ? strpgmexp pgmlvl(*current) export symbol (xyz0 endpgmexp. plz explain me this step by step .
What will happen if we r using seton lr after return or vice versa.
In RPG program one file using as a PRIMARY file while running program some of the records reading twice any body know why its happening
Can any one plz explain the concept of INFSR, *PSSR, INFDS AND PSDS, I' confusing about PSDS and *PSSR, Wat is the difference btw them, wat PSDS will do????
what is batch debug in as400?