%let CourseCode=ds2;
%let path=/home/student/Demos/intro_to_ds2;
libname sasdata "&path/data/sasdata";

cas intro sessopts=(caslib=casuser timeout=28800 locale="en_US");

/* drop the my_cas caslib if it exists */
filename LibLog "&path/data/liblog.txt";
proc printto log=LibLog;run;
caslib casdata drop ;
/* create the my_cas caslib */
caslib casdata datasource=(srctype="path") path="&path/data/casdata" sessref=intro libref=casdata subdirs;
proc printto; run;
filename LibLog clear;

proc casutil;
   load casdata="campaign.sashdat" incaslib="casdata" casout="campaign" replace;
run;quit;
