LASR Procedure

Example 1: Start a Server

Details

This PROC LASR example demonstrates starting a server instance on network port number 10010. Once the server instance is started, the LASRPORT macro variable in the SAS session is set.

Program

option set=GRIDHOST="grid001.example.com"; 1
option set=GRIDINSTALLLOC="/opt/TKGrid";

proc lasr create port=10010 2
    path="/tmp" noclass;

    performance nodes=all;
run;

Program Description

  1. The GRIDHOST= and GRIDINSTALLLOC= environment variables are used to identify the machine to connect to and the location of the SAS High-Performance Analytics environment. Do not include any trailing spaces (such as "/opt/TKGrid ") when you specify the path in GRIDINSTALLLOC=. The server will not start if the path includes trailing spaces.
  2. The CREATE option is required and the PORT= option specifies the network port number to use.