Documentation Example 2 for PROC HPPRINCOMP

/****************************************************************/
/*          S A S   S A M P L E   L I B R A R Y                 */
/*                                                              */
/*    NAME: HPPRIEX2                                            */
/*   TITLE: Documentation Example 2 for PROC HPPRINCOMP         */
/* PRODUCT: HPSTAT                                              */
/*  SYSTEM: ALL                                                 */
/*    KEYS: Multivariate Analysis                               */
/*   PROCS: HPPRINCOMP                                          */
/*    DATA: Simulated Data                                      */
/*                                                              */
/* SUPPORT: Ning Kang                                           */
/*     REF: PROC HPPRINCOMP, Example 2                          */
/*    MISC:                                                     */
/****************************************************************/

data ex2Data;
   array x{100};
   do i = 1 to 5000000;
      do j = 1 to dim(x);
         x[j] = ranuni(1);
      end;
      output;
   end;
run;


proc hpprincomp data=ex2Data n=20 outstat=Stats;
   var x:;
   performance details;
run;

proc hpprincomp data=ex2Data n=20 outstat=Stats;
   var x:;
   performance details nodes = 4
               host="&GRIDHOST" install="&GRIDINSTALLLOC";
run;