I believe PF does not allow you to add duplicate entries. If the PF already contains duplicate entires, then the LF created based on PF might not fetch the data, you should see an error “FILE in LIB not valid for operation.”
That’s right, you cannot add records to the PF if they violate any unique constraint on the physical or logicals. You cannot create the LF if the PF contains any records that would violate the unique constraint in it’s definition.
I think if the PF already contains duplicate records then on quering on LF (with unique) it will show only the first record..Please correct me if wrong..