Roger, COPYFILE will read and re-write the whole file. It just seems like there used to be a trick way to change the RECFM, and not muck up the whole CMS file system, without reading and re-writing the whole file. It certainly doesn't make sense to me that there is a way (have to RDWs when going to RECFM V files, have to strip them when going to RECFM F files). But I have this dim (probably dim-witted) memory of some long-ago trick to do it. Certainly COPYFILE (or PIPEs) would (especially to a fast VDISK-in-memory). But then you need all the proper backup techniques in case something goes wrong after erasing the original file and before re-writing it from the VDISK.
Mike Walter Hewitt Associates The opinions expressed herein are mine alone, not my employer's. "Roger Bolan" <[EMAIL PROTECTED]> Sent by: "VM/ESA and z/VM Discussions" <[email protected]> 01/05/2006 02:00 PM Please respond to "VM/ESA and z/VM Discussions" <[email protected]> To [email protected] cc Subject Re: Quick way to change RECFM? Did you try COPYFILE / ( RECFM V TRUNC to copy the file into itself changing the record format to variable and truncating trailing blanks. COPYFILE / ( RECFM f LRECL nnn to go the other way. Are you saying you can't get a temp disk large enough to do the copy? Regards, Roger Bolan The information contained in this e-mail and any accompanying documents may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message, including any attachments. Any dissemination, distribution or other use of the contents of this message by anyone other than the intended recipient is strictly prohibited.
