04-24-2012 06:35 AM
1.i am having sas 8.2 version.
2.proc import is not supporting in our servers.
3.i tried the below code for importing
4.input file----csv file
5.variable name length is more than -32 chars
filename read 'path/file.csv';
infile read firstobs=2;
'EVENT OUTCOME DATE' N
'EVENT REPORTED DAT' N
i am getting errors:
'subject PROTOCAL NAME' N
ERROR 22-322: Syntax error, expecting one of the following: a name, arrayname, #, (, +, /, //, ;, @, @@.
ERROR 76-322: Syntax error, statement will be ignored.
8 'EVENT OUTCOME DATE' N
9 'EVENT REPORTED DATE' N
10 'var name ' N
12 'var name ' N
13 ' var name' N
NOTE: The SAS System stopped processing this step because of errors.
NOTE: SAS set option OBS=0 and will continue to check statements. This may cause NOTE: No observations in data set.
WARNING: The data set WORK.NEW may be incomplete. When this step was stopped there were 0 observations and 0 variables.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
cpu time 0.02 seconds
plese help me.............