If you are talking about using the sleep statement, I assume you are using
the same program to write and read.  I believe that the write process does
not return to the program until it has successfully completed the write.

However if you are dealing with large type 1 files consider using the
Openseq, Readseq, writeseq facilities as these are effective in dealing with
very large records.  Readseq is a lot faster than using REC<n>.

Regards

David Jordan
Managing Consultant
 
[EMAIL PROTECTED]
Mobile: 0428 669 730
 
DACONO Holdings Pty Ltd
www.dacono.com.au
 
PO Box 909
Lane Cove
NSW 2066
Australia
 
Phn: 61 2 9418 8320
Fax: 61 2 9427 2371
 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob Woodward
Sent: Tuesday, 1 November 2005 1:12 PM
To: [email protected]
Subject: RE: [U2] Status of a WRITE to a Type 1 File

Write a "tag" record and watch for the tag instead of the actual data
record.  When the tag appears, you're sure the related data record is
there.  

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dave Taylor
Sent: Monday, October 31, 2005 11:53 AM
To: [email protected]
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
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to