Mike, I am sure I will not be able to provide you with the answer to part A of the problem - I would be most interested in hearing how one alters the contents of a file (by adding or deleting trailing blanks to lines) without rewriting the record...:-)
But if the disk is too full for the temp copy created by XEDIT during the file process, I suggest issuing a CMS ERASE fn ft fn just before the FILE command would answer part B of the problem. Ron -----Original Message----- From: VM/ESA and z/VM Discussions [mailto:[EMAIL PROTECTED] On Behalf Of Mike Walter Sent: Thursday, January 05, 2006 1:35 PM To: [email protected] Subject: Quick way to change RECFM? Imagine that you have a very large CMS file, and the place in which it resides is too small to hold another copy. Short of reading the whole file in (PIPE, COPYFILE, XEDIT, etc.) is there a quick and easy way to... 1) Change from RECFM F to RECFM V, truncating trailing blanks. and as long as I'm asking... 2) Change from RECFM V to RECFM, padding with trailing blanks. This question came up when using FTP to GET a RECFM F file from MVS, and wanting it to be RECFM V when written on VM (no need to take up more space than needed). Seems like I used to know a trick answer to this. :-( Mike Walter Hewitt Associates The opinions expressed herein are mine alone, not my employer's. 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.
