Hi, I just started my programming journey, and have only som minor experience from SAS before. Now I need to create 3 empty datasets (dataframes) with various numbers of variables (columns) in different formats. They should be datasets logging the output from different validation checks, so they will be populated later on, but now I need to just create the "shells".
In SAS i would have used the following code;
data log_runs;
format RUNN best.;
length RUNNF $4.;
format RUNDT datetime20.;
length PREV_DVRES $100.;
delete;
run;
data log_res;
format RUNN best.;
length STATUS $3.;
length UTID $300.;
length SUBJID $10.;
length CHKID $12.;
length VISIT $64.;
length PAGE $32.;
format SEQ best.;
format ROW best.;
length SPEC $300.;
length NOTE $500.;
length CLOSURE $1.; *C=Closed/Ignored by monitor response, O=Obsolete (no longer present), X=Closed by DM (error in run, etc);
format CLOSURE_RUNN best.;
delete;
run;
data log_progs;
format RUNN best.;
length DVPROG $32.;
delete;
run;
Is there anyone who can help out here ... please bare with me, I'm really new to programming