Is your question, like you have two PFs with same name and same fields, and then you want to use both the files for their records in a program?
If so, then Rename the Record formats using RENAME keyword and use fields of one of the files using PREFIX keyword at file level. Regarding PF names, they can NEVER be same in one library. Hope this helps..
With Best Regards,