We have used the SEEK filehandle, 0 2 statement It is literally an exposure of the C seek statement.
Yes, it works John Woollam | Group Function Support 1 (Finance Systems) | Travis Perkins PLC | UK -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Don Robinson Sent: 24 March 2010 23:43 To: U2 Users List Subject: Re: [U2] Writeseq - getting to the EOF 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 <[email protected]> To: U2 Users List <[email protected]> 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 [email protected] ph:856.848.9005 Ext 220 The Wyanoke Group http://www.wyanokegroup.com _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users <html> <head> <meta http-equiv="Content-type" content="text/html; charset=UTF-8"> </head> <body> <P style="MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0pt"><SPAN style="FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'">This e-mail and any attachments are confidential and intended solely for the use of the addressee only. If you have received this message in error, you must not copy, distribute or disclose the contents; please notify the sender immediately and delete the message. </SPAN></P> <P style="MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0pt"><SPAN style="FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'">This message is attributed to the sender and may not necessarily reflect the view of Travis Perkins plc or its subsidiaries (Travis Perkins). Agreements binding Travis Perkins may not be concluded by means of e-mail communication. </SPAN></P> <P style="MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0pt"><SPAN style="FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'">E-mail transmissions are not secure and Travis Perkins accepts no responsibility for changes made to this message after it was sent. Whilst steps have been taken to ensure that this message is virus free, Travis Perkins accepts no liability for infection and recommends that you scan this e-mail and any attachments. </SPAN></P> <P style="MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0pt"><SPAN style="FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'">Part of Travis Perkins plc. Registered Office: Lodge Way House, Lodge Way, Harlestone Road, Northampton, NN5 7UG. </SPAN></P> </BODY> </HTML> _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users
