Very little information of what you really want to do 🙂
Do you want to read the file into sas and convert the date, do you want to change the file i.e write back the converted date.
Why do you want to insert / into the date?
Anyhow, this little step adds / to the new variable outdate by reading the variable indate 🙂
data test;
length indate $6 outdate $8;
input indate;
outdate = cats(substr(indate,1,2),'/',substr(indate,3,2),'/',substr(indate,5,2));
datalines;
160911
151111
;
run;
BR
Fredrik
... View more