data _null_; set prog2.visits; /* The DLM= option in the FILE statement separates the data values with commas. The DSD option in the FILE statement accounts for embedded delimiters. */ file 'visits.csv' dlm=',' dsd; put ID Date : mmddyy10. Fee : dollar10.2; run; /* The FILE statement is applicable to the Windows and UNIX operating environments. OS/390 users should use: file '.prog2.rawdata(visits)'; */ proc fslist fileref='visits.csv'; run; /* The PROC FSLIST statement is applicable to the Windows and UNIX operating environments. OS/390 users should use: proc print fileref='.prog2.rawdata(visits)'; run; */