Hello,
this is what i have in en external csv file. sometimes 2 decimal, 1 or 0
reference;amount
101;190000,12
102;190000,1
103;190000
I don't succeed to load in a table.
thnaks in advance for your help
regards
Nasser
How did you not succeed? What went wrong?
Should work find, if you use the right INFORMAT.
Example:
data want;
infile cards dsd dlm=';' truncover ;
input id $ value :commax. ;
cards4;
101;190000,12
102;190000,1
103;190000
;;;;
proc print;
run;
Obs id value 1 101 190000.12 2 102 190000.10 3 103 190000.00
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.