LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (July 2003, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Tue, 1 Jul 2003 20:40:51 +0000
Reply-To:   "Gleb V. Kotelnitsky" <kiz@PTH.NTU-KPI.KIEV.UA>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   "Gleb V. Kotelnitsky" <kiz@PTH.NTU-KPI.KIEV.UA>
Organization:   NTUU "KPI"
Subject:   fopen() and infile correspondence

I have a data step infile, input statements, which i want to convert to fopen(),fread(),fget() functions. the data statements are: infile topics pad dsd notab dlm='09'x; input topic $ @@; when i try %let topics=%sysfunc(fopen(&tref,s,,v)); %sysfunc(fread(&topics)); %sysfunc(fget(&topics,var)); only the first record is read, after then fread() produces end of file warning. Is there a way of using functions to read such a file? (which is filename(tref,excel|system!topics,dde) )

-- You can't escape addiction - choose yours carefully.

Back to: Top of message | Previous page | Main SAS-L page