Date: Sat, 5 Jul 2003 15:46:02 -0400
Reply-To: Dave Frankel <dave_frankel@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Dave Frankel <dave_frankel@HOTMAIL.COM>
Subject: input @n, where n GT 2 G
I am reading unbuffered (RECFM=N) data on Windows NT platform using
statements like Input @n var_name format_name.;
n is an 8-byte numeric variable. Ths works very well for n LT 2**31 (2 G).
Unfortunately, the files I need to read may be bigger than 2 GB (yes, NT
does support files sizes greater than 2 GB), and input @n fails when n GT
2**31.
I have tried to approach the target offset (location in the file GT 2 G) in
increments using statements like Input @m1 var_name1 +m2 var_name2; where
m1 and m2 ar both LT 2 G, without success.
It seems that the input @n statement may be implemented using a 32-bit
access method, when a 64-bit method is needed to access offsets beyond 2 GB.
Can anyone suggest a workaround that does not require cutting the input
file into pieces?
|