*stimer and fullstimer--fall09 should be a permanent SAS data set; libname stat541 'f:\stat 541\'; run; options stimer; data fall2009; set stat541.fall09; proc sort data=fall2009; by noobs; run; options fullstimer; data fall2009; set stat541.fall09; proc sort data=fall2009; by noobs; run; *Chapter 20--see buffer size, number of pages, observations/page; proc contents data=stat541.meddb; run; *Check several options for buffer size and # of buffers; options fullstimer; data meddb; set stat541.meddb; run; data meddb (bufsize=6144 bufno=2); set stat541.meddb; run; data meddb (bufsize=8192 bufno=8); set stat541.meddb; run; data meddb (bufsize=8192 bufno=8); set stat541.meddb; run; data meddb (bufsize=2048 bufno=4); set stat541.meddb; run; *SASFILE example; sasfile meddb load; proc sgplot data=meddb; vbox claim/category=tos; run; proc freq data=meddb; format dos mmddyy10.; where month(dos)=7; table dos*tos/nopercent norow nocol; run; proc sgplot data=meddb; histogram claim/scale=count nofill; density claim/type=kernel; run; sasfile meddb close; proc sgplot data=meddb; vbox claim/category=tos; run; proc freq data=meddb; format dos mmddyy10.; where month(dos)=7; table dos*tos/nopercent norow nocol; run; proc sgplot data=meddb; histogram claim/scale=count nofill; density claim/type=kernel; run;