24 length
id $10 name $20 amount $10;
25 call missing(of _all_);
29%mp_csv2ds(inref=csvref,outds=work.csv_out,baseds=work.csv_base)
31%mp_assertmodel(work.csv_out,base=work.csv_base,key=
id,
32 desc=Checking the CSV output model and
id key,
33 outds=work.test_results
37 select count(*) into: n_rows from work.csv_out;
38 select name into: first_name from work.csv_out(obs=1);
43 desc=Checking that every row of the csv is loaded,
44 outds=work.test_results
48 iftrue=(%sysfunc(strip(&first_name))=alpha),
49 desc=Checking that the first data row is stored under the header variable,
50 outds=work.test_results