You are right. You should always have a back up plan. I was answering his basic question not thinking about preventing disasters. That being said, if you really need to protect the file maybe REXX EXECIO isn't the best solution.... Jon
Jon L. Veilleux [EMAIL PROTECTED] (860) 636-2683 -----Original Message----- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Paul Gilmartin Sent: Thursday, October 16, 2008 9:19 AM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: How to insert records using EXECIO On Thu, 16 Oct 2008 07:49:45 -0400, Veilleux, Jon L wrote: >You can read the whole file into a stem variable, ... > I feel old. You really ought to have a fallback mechanism in case "can" fails. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html This e-mail may contain confidential or privileged information. If you think you have received this e-mail in error, please advise the sender by reply e-mail and then delete this e-mail immediately. Thank you. Aetna ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html