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 |
what is kids-rpg?
what is an online rpg?
1.The questions have given an array declaration and move operation then this statement is correct or not?
I have file with data as follows data 1 2 3 4 5 I need to read 1 and 5 ,then 2 and 4 then like.. upto end of file, can any one help on this
There is a excel sheet having details of Old account number and new account number. I need to update these details in my AS400 files. i.e. all the records having old account number should be replaced with new account number. There can be 100 or 200 or 300 PFs...no fix files known. how can we do this?Solution should be performance oriented
What is Multi Occurrence Data Structure(MODS)?
Can anybody tell me in which scenario we have to use SQLRPG .(Embeded SQL)....?
HI, 1: WHAT IS THE FUNCTION OF %KDS?WITH PROGRAMMING CODES EXAMPLE 2: WHAT IS THE FUNCTION OF Z-ADD AND Z-SUB ? WITH PROGRAMMING CODES EXAMPLE
1.If *HIVAL SETGT is used what opcode is used to read a record? A:READ B:READPE C:CHAIN D:READP 2.How to pass numeric parameter to the rpg pgm from the command line? 3.What keyword is used on the rpg 4 definition specification to rename a subfile in an externally definition data structure? A:RENAME B;LIKE C:EXTNAME D:EXTFLD
Can anybody tell me, does CL/400 handle LEVEL check while running the CL program....? plz share your experience...
what is flat file?
Maximum how many files declare in rpgle