Hi Dave, You could put a group of special characters at the end of each job, and if you read a record and that group of characters are not there, then you'll know that it hasn't finished yet and that you need to read the record again after a little SLEEP. During processing, you could also scan the data just to insure that you're special characters really don't appear anywhere in the record just as an insurance policy.
When you do read the record and the special characters are there at the end of the record, then you could just suppress them on output and it'll be done, badda bing, badda boom!!! And I thought 'end of record' markers were a thing of the past, or just for language designers!!! hth, Allen -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dave Taylor Sent: Monday, October 31, 2005 11:53 To: u2-users@listserver.u2ug.org Subject: [U2] Status of a WRITE to a Type 1 File We're using Universe 10.0.10.0 on Win 2000 Server. I need to determine when a Basic WRITE Statement of a record to a Type 1 file has completed so I can execute a subsequent action on the record written, but not before all the data in the record has been written. These can be large records requiring various numbers of seconds to write so I'm uncomfortable using a defined-length SLEEP command. TIA, Dave Dave Taylor President Sysmark Information Systems, Inc. 49 Aspen Way Rolling Hills Estates, CA 90274 800-SYSMARK (800-797-6275) (O) 310-544-1974 (P) 800-339-1497 (F) 310-377-3550 Your Source for Integrated EDI Translation and DataSync Integration www.sysmarkinfo.com ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/