this is my code:
data csv_file_sas;
format datum ddmmyy10. tarief 4.2;
infile csv_file dlm=';' dsd missover lrecl=10000 firstobs=2;
input Etablissement Werkplaats $ Tarief_Cod $ Tarief_Label $ Det_Cod Naam $ Voornaam $ Datum ddmmyy10. Statuut $ Imputatie Kostenplaats Tarief 6 Eenheid Uren Stukken Totaal;
run;
my problem is, that for numbers with decimals like "Tarief", i don't get a number then.
In csv: Tarief
1
1,2
In my dataset, the number for 1,2 is blank. Any help?
I think you need commaXw.d INFORMAT.
The COMMAXw.d informat operates like the COMMAw.d informat, but it reverses the roles of the decimal point and the comma. This convention is common in European countries.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.