When a object will be locked & when a record will be
locked? Plz explain.

Answers were Sorted based on User's Feedback



When a object will be locked & when a record will be locked? Plz explain...

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

When a object will be locked & when a record will be locked? Plz explain...

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

Post New Answer

More RPG400 Interview Questions

How to sort an array in descending in RPG

3 Answers   Google, TCS,


wat is the difference between array and multiple occurence data structure?

4 Answers   Four soft,


what is batch debug in as400?

3 Answers  


how do I do concatenation in rpg iv, like I do in cl?

1 Answers   IBM,


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.

5 Answers   TCS,






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

3 Answers   Cap Gemini, IBM,


What is the purpose of record level identifier?

0 Answers  


what is the use of sflnxtchg?

0 Answers   IBM,


What is the OPEN and CLOSE accesspath?

3 Answers   CTS,


what is file identifier wher we can use

1 Answers   IBM,


wat is scan and check ? give me real time scenarios where we used these keywords in ur projects?

2 Answers   Four soft,


How to read data from Nth member of a physical file containing some X number of members in it? "Provided member names are unknown"

4 Answers  


Categories