When a object will be locked & when a record will be
locked? Plz explain.
Answers were Sorted based on User's Feedback
Answer / ps
When file is open in update/add mode file object will be
locked.
When user try to fetch any record from file by setting up
pointer to a record record will get locked.
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / syam
When 2 user or more trying to access same record in a PF
record will be locked. While backup file to tape or cd any
user trying to access any lib or file it can be locked
Is This Answer Correct ? | 6 Yes | 8 No |
How to sort an array in descending in RPG
wat is the difference between array and multiple occurence data structure?
what is batch debug in as400?
how do I do concatenation in rpg iv, like I do in cl?
i hav 2 logical files(L1,L2) both r derived from one physical file(P1). how can i use both the logical files in one RPG program? if yes what i have to d.
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 the purpose of record level identifier?
what is the use of sflnxtchg?
What is the OPEN and CLOSE accesspath?
what is file identifier wher we can use
wat is scan and check ? give me real time scenarios where we used these keywords in ur projects?
How to read data from Nth member of a physical file containing some X number of members in it? "Provided member names are unknown"