NOTE: This session is in interactive mode. 1 /*---- mldmbd00d00_StartLASR_SMP.sas ----*/ 2 3 /*---- Include course macro variable definition file ----*/ 4 /*---- when using SAS Studio in interactive mode. When ----*/ 5 /*---- using SAS Studio in non-interactive mode or SAS ----*/ 6 /*---- Enterprise Guide or the SAS Windowing Environment,----*/ 7 /*---- macro variables will persist, so the definition ----*/ 8 /*---- file need only be run once. ----*/ 9 10 /*---- BEGIN: Macro definitions ----*/ 11 12 %include "D:\workshop\MLDMBD\mldmbd_Macros_SMP.sas"; ====================================== Configuration SASDataFolder=D:\workshop\MLDMBD\Data ScoreFolder=D:\workshop\MLDMBD\output LASRpath=C:\Temp ServerName=SASBAP.demo.sas.com SessionPort=10011 host=SASBAP.demo.sas.com ====================================== NOTE: DATA statement used (Total process time): real time 0.00 seconds cpu time 0.00 seconds NOTE: Libref SASLIB was successfully assigned as follows: Engine: V9 Physical Name: D:\workshop\MLDMBD\Data Directory Libref SASLIB Engine V9 Physical Name D:\workshop\MLDMBD\Data Filename D:\workshop\MLDMBD\Data Member # Name Type File Size Last Modified 1 PVA97NK DATA 22MB 02/13/2013 16:02:24 2 PVA97NK_OLD DATA 19MB 03/03/2008 15:06:36 3 P_MODEL_BANK13 DATA 448MB 01/22/2015 14:41:02 4 VALIDSTATS DATA 128KB 09/21/2018 04:23:26 5 VS_BANK DATA 430MB 01/22/2015 14:41:01 6 VS_BANK250K DATA 110MB 11/03/2015 14:43:51 7 VS_BANK500K DATA 219MB 11/03/2015 14:45:31 56 57 /*---- END: Macro definitions ----*/ 58 59 /*---- For this course the preferred way to start the LASR server ----*/ 60 /*---- is to sign into SAS Visual Analytics as an ADMINISTRATOR ----*/ 61 /*---- and start the SAS LASR Analytic Server.This is done as, ----*/ 62 /*---- part of the first SAS Visual Analytics demonstration. ----*/ 63 /*---- As a work-around you can also start up the LASR server ----*/ 64 /*---- (which is running in SMP mode) using the START option, ----*/ 65 /*---- on The LIBNAME statement. ----*/ 66 67 /*---- Starting the LASR server ----*/ 68 69 libname LASRlib sasiola start port=&SessionPort tag="&TagString"; NOTE: A SAS LASR Analytic Server was successfully started on port 10011 of localhost. NOTE: Libref LASRLIB was successfully assigned as follows: Engine: SASIOLA Physical Name: SAS LASR Analytic Server engine on local host, port 10011 70 71 /*---- Should you decide to choose this method to start up the ----*/ 72 /*---- SMP LASR server, you will be required to repeat this ----*/ 73 /*---- LIBNAME Statement and reload the data in EVERY new SAS ----*/ 74 /*---- session you Begin. For SAS Studio, this means for every ----*/ 75 /*---- new interactive window that you open. The extra LIBNAME ----*/ 76 /*---- statement and DATA steps are not included in the course ----*/ 77 /*---- programs and will need to be added. ----*/ 78 79 /*---- Load the data ----*/ 80 NOTE: PROCEDURE DATASETS used (Total process time): real time 0.49 seconds cpu time 0.09 seconds 81 data LASRlib.p_model_bank13; 82 set SASlib.p_model_bank13; 83 run; NOTE: There were 1060038 observations read from the data set SASLIB.P_MODEL_BANK13. NOTE: The data set LASRLIB.P_MODEL_BANK13 has 1060038 observations and 56 variables. NOTE: DATA statement used (Total process time): real time 4.61 seconds cpu time 4.10 seconds 84 85 /*---- Use IMSTAT to explore the project data ----*/ 86 proc imstat; 87 /*---- List the tables in the LASR server ----*/ 88 tableinfo / port=&SessionPort; 89 run; 90 quit; NOTE: The PROCEDURE IMSTAT printed page 1. NOTE: PROCEDURE IMSTAT used (Total process time): real time 0.32 seconds cpu time 0.01 seconds 91