Read up also about FILEMODE 6. And be sure that the file being updated has RECFM F (fixed record format), not RECFM V (variable).
Once you are satisfied that you have it working, run some performance tests comparing: - updating that file vs - reading in the whole file, replacing just that record, and re-writing the whole file using CMS Pipelines. You may be surprised (depending on the file size, your disk subsystem, etc.). Mike Walter Aon Corporation The opinions expressed herein are mine alone, not my employer's. "Chip Davis" <c...@aresti.com> Sent by: "The IBM z/VM Operating System" <IBMVM@LISTSERV.UARK.EDU> 06/01/2011 10:28 AM Please respond to "The IBM z/VM Operating System" <IBMVM@LISTSERV.UARK.EDU> To IBMVM@LISTSERV.UARK.EDU cc Subject Re: EXECIO DISKW Question Yes, but be careful. Try: EXECIO 1 DISKRU ... -Chip- On 6/1/11 14:49 Sergio Lima said: > Hello List, > > We want write a REXX EXEC , that do a Update in place. > Another words, I need, read the record 1 from the file, and then rewrite > the same record. > Is possible? > > Thanks, > > Sergio 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. All messages sent to and from this e-mail address may be monitored as permitted by applicable law and regulations to ensure compliance with our internal policies and to protect our business. E-mails are not secure and cannot be guaranteed to be error free as they can be intercepted, amended, lost or destroyed, or contain viruses. You are deemed to have accepted these risks if you communicate with us by e-mail.