How can you detect and handle a record lock situation?

If you try to read the locked record, we can get system defined message i. e. , the program will ended abnormally. With the help of File Information Data Structure we can handle record lock situation. Generally it will happen, when the same file of type ā€ Uā€ used in different programs.

Category: IBM AS/400 Interview Questions.