I don’t understand the question. The object is already found if you know the name and library and type (file).
If it’s a file, you delete it with a DLTF (Delete File) command.
Remember if you recompile a pf all the data will be lost. Make a copy of the data first and then do a cpyf with map/drop to the new file.
It’s like deja-vu, all over again.
If it is a PF, you can use “CHGPF” if you changed the DDS. It will add or delete the field(s) and copy the data after the change (if a field is deleted, that data will be lost). If there is any LF over this file, the new fields will not be included in the LF(s).
thank u all