George,

Have you tried the SEEK statement, ie,
SEEK filehandle, 0 , 2

The 0 (zero) is the offset and the 2 is "relative to the end of the file".

Caution, untested code!
 
Good luck,
Don Robinson





________________________________
From: George Gallen <ggal...@wyanokegroup.com>
To: U2 Users List <u2-users@listserver.u2ug.org>
Sent: Wed, March 24, 2010 5:25:31 PM
Subject: [U2] Writeseq - getting to the EOF

ok. UV 10.0.2

Is there a quick way to get to the end of a file to start appending after an 
OPENSEQ
Otherthan, a loop to READSEQ until it hits the EOF.

Right now, that is not a problem, but this file could grow to some considerable 
size, and
  that loop might take a little bit to cycle through.

I didn't see any options for the OPENSEQ to start at the EOF, and didn't find 
any commands
  that would set the eof (other than WEOFSEQ which doesn't seem likely to help).

Thanks


George Gallen
Senior Programmer/Analyst
Accounting/Data Division, EDI Administrator
ggal...@wyanokegroup.com
ph:856.848.9005 Ext 220
The Wyanoke Group
http://www.wyanokegroup.com



_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to