Renaming the Record Format of a Physical File Renaming the Record Format of a Physical File Ju5 (Programmer) (OP) 19 Jan 09 22:56 I executed a CPYF to copy a new file and gave it a new name. The record format of the new file is the same as the old file. Does anyone know how rename a record format of a Physical file without a DDS? RE: Renaming the Record Format of a Physical File Mercury2 (TechnicalUser) 20 Jan 09 06:51 You can't. Just use rename on your RPG F spec. RE: Renaming the Record Format of a Physical File flapeyre (Programmer) 20 Jan 09 10:16 If you really need to have your new file with a different record format, then simply create the new file with a modified copy of the DDS of the original file, changing only the record name (do not add, remove, or change the position or type of any of the fields). Then use CPYF FMTOPT(*NOCHK).But I agree with Mercury2's answer. The RENAME keyword exists for just that reason. -- FrancisI'd like to change the world, but I can't find the source code.