When a record will be locked and object will be locked?
A record is locked when you read from a file that is defined as Update without using the Op code to not lock it. The lock stays in place until you release it, update it ot read the next record.
An object can be locked with an ALCOBJ command.
Or if you open a file for update.
What is the level identifier parameter in PF?
There is an algorithum that is used when a file is created. It takes in all the characteristic of the file.
It is used for LVLCHK.