Move the system resource name of the new file to recordName.resourceAssociation. The new system resource is used in the next I/O statement associated with the record. If another resource is already open for the record, that file is closed before the new file is accessed. The new resource must have the same file type as the file type specified for the record file when the program was generated.