SAS

SAS can be used for education or research only. Researchers in private organizations are prohibited to use SAS to provide profit for specific organizations and must return the fruits obtained by SAS to society.

SAS is available in only a single node of system B’s login nodes. You need to log in to sas.kudpc.kyoto-u.ac.jp when using SAS. SAS cannot be used as a batch.

Version System A System B System C
9.4(default) AU

Key: AU = Available for academic users only, ― = Not available for use.

Modules software package dynamically adjusts the environment settings for using applications, by using the module command. It also makes changing the environment settings easy when switching between different versions of applications. For details, see Modules.

Version Module File
9.4 (default) sas/9.4

You can see the list of module files available by using the module avail command.

SAS (Statistical Analysis System) is a software package for various data processing and analysis. The SAS system consists of the basic system and various optional products, each of which serving its own purpose. Each software product includes multiple statistical programs(procedures).

Base SAS Software is the basic product of the SAS system, which integrates optional products. It has data processing functions such as data step processing, reporting, and descriptive statistics.

SAS/STAT Software is a product for statistical analysis such as regression analysis, variance analysis, multivariate analysis, discriminant analysis, cluster analysis, categorical analysis, and survival analysis.

SAS/GRAPH Software is used to draw plots, charts, 3D graphs, contour maps, and map graphs.

SAS/ETS Software is a product that performs statistical analysis of time-series data and modeling of economic systems by simultaneous equations.

SAS/OR Software is a product of operations research for schedule control and mathematical programming.

SAS/IML Software is a product that performs matrix operation through an interactive interface employing linear-algebra-style expressions. This product handles generalized inverse matrices, eigenvalue decomposition, FFT, QP(quadratic programming), time-series modeling, etc. SAS/IML is an interactive matrix operation language capable of file input/output, conditional judgment, repetition, and modules.

SAS works on only one login node “laurel2,” of system B. You need to log in to sas.kudpc.kyoto-u.ac.jp(host name: laurel2) to use SAS.

Set up the environment by using the module command. (The module file you want is loaded.)

$ module load sas

To start SAS, enter the following command in the X Window System environment.

$ sas_en

The following windows are displayed: Change Notice, Output, Explorer, Results, Program Editor, Log, ToolBox, and Session Management.

First, make sure to close the Change Notice window. The Change Notice window might be hidden by another window. Program Editor cannot be operated before closing the Change Notice window.

In the one of the these window: Explorer, Results, or Program Editor, select the File menu in the menu bar, then click Exit to exit SAS.

You can use Japanese version by using the sas_ja command.

$ sas_ja

As for a character encoding, the supercomputer system uses the UTF-8 form, but the sas_ja command uses the EUC-JP form. Thus, please convert a file including Japanese into the EUC-JP form by using the nkf command.

Example of the conversion into EUC-JP:

$ nkf -eLu sample_utf8.sas > sample_eucjp.sas

The man command allows you to know how to use the nkf command. For details on the man command, see Basics on UNIX / Linux.

 $ man nkf

To start SAS, enter the following command with the -nodms option.

$ sas_en -nodms
NOTE: Copyright (c) 2002-2008 by SAS Institute Inc., Cary, NC, USA.
NOTE: SAS (r) Proprietary Software 9.2 (TS1M0)
      Licensed to KYOTO UNIVERSITY -BSC, Site 0010203989.
NOTE: This session is executing on the SunOS 5.10 platform.You are running SAS 9. Some SAS 8 files will be automatically converted
by the V9 engine; others are incompatible.  Please see
http://support.sas.com/rnd/migration/planning/platform/64bit.html
PROC MIGRATE will preserve current SAS file attributes and is
recommended for converting all your SAS libraries from any
SAS 8 release to SAS 9.  For details and examples, please see
http://support.sas.com/rnd/migration/index.html
This message is contained in the SAS news file, and is presented upon
initialization.  Edit the file "news" in the "misc/base" directory to
display site-specific news and information in the program log.
The command line option "-nonews" will prevent this display.
NOTE: SAS initialization used:
      real time           0.30 seconds
      cpu time            0.12 seconds
  1? endsas;
NOTE: SAS Institute Inc., SAS Campus Drive, Cary, NC USA 27513-2414
NOTE: The SAS System used:
      real time           6.43 seconds
      cpu time            0.12 seconds

To omit displaying the news reports when startup, please specify the -nonews option.

$ sas_en -nodms -nonews

You can use Japanese version by using the sas_u8 command after setting up ja_JP.UTF-8 in the environment variable LANG.

Setting up the environment variable LANG.

## Setting environment variable LANG (for tcsh)
$ setenv LANG  ja_JP.UTF-8
## Setting environment variable LANG (for bash)
$ export LANG=ja_JP.UTF-8

Starting up Japanese version.

$ sas_u8

To execute SAS without using interactive processing, please specify a filename of SAS program in the argument.

$ sas_en sample.sas

That issue will be solved by selecting Passive_sas.cfg when specifying Xconfig on the Exceed onDemand.

No documents

No documents

We periodically offer programming seminars, and distribute the handouts.


Copyright © Academic Center for Computing and Media Studies, Kyoto University, All Rights Reserved.