/****************************************************************/ /* S A S S A M P L E L I B R A R Y */ /* */ /* NAME: hpsame03.sas */ /* TITLE: Getting Started Example for PROC HPSAMPLE */ /* PRODUCT: HPA */ /* SYSTEM: */ /* KEYS: */ /* PROCS: HPSAMPLE */ /* DATA: */ /* */ /* SUPPORT: Ye Liu */ /* REF: */ /* MISC:Example-Running with Data on the SAS appliance */ /****************************************************************/ /*MyLib is a libname for a distributed data source In this case, the computation is automatically done on the SAS appliance.*/ option set=GRIDHOST = "&GRIDHOST"; option set=GRIDINSTALLLOC = "&GRIDINSTALLLOC"; libname MyLib &LIBTYPE server ="&GRIDDATASERVER" user =&USER password=&PASSWORD database=&DATABASE; proc datasets lib=Mylib nolist; delete out1; run; proc hpsample data=MyLib.hmeq out=MyLib.out1 samppct=10 seed=1; var loan value delinq derog; class job reason; target job reason; ods output FreqTable=Freqtab; run;