admin 管理员组

文章数量: 887095


2023年12月22日发(作者:后序遍历二叉树的技巧)

Win8和win10安装SAS方法总结

Win8和win10基本一样。

第一步:下载并安装.net framework3.5

方法:“控制面板”>“程序和功能”>“启用或关闭Windows功能”

把.net framework3.5目录下面的两个都选上,确定,系统自动下载安装。安装完成后重启电脑。

第二步,调整系统时间。

由于安装文件是比较早的,把时间调到2014年1月1号(反正要改到安装包里

面自带的SID到期日之前)。

第三部:选择用兼容模式,并以管理员身份来运行SAS安装文件。

双击,开始安装。安装包中一般都有安装教程,不多说了。

第四部:解决ERROR: Failed to attach to Java during SAS startup 的问题。

安装好SAS后初次运行,会出现报错ERROR: Failed to attach to Java during SAS

startup。

解决方式如下:

用记事本打开文件

C:Program (x64)----------64位

C:Program (x86)-----32位

如果用的是SAS简体中文版,则用记事本打开

C:Program (x64)----------64位

C:Program (x86)-----32位

把目录下的文件,把红色部分调整至一行!

/* Options used when SAS is accessing a JVM for JNI processing */

-JREOPTIONS=(

-DPFS_TEMPLATE=!

-=D:Program

-=!

-=!

-=ssLoader

-uration=file:/D:/Program%20Files/SASHome/SASFoundation/9.3/tkjava/sasmisc/ties

-=D:Program

-=!

-=C:PROGRA~2JavaJRE16~1.0_

-=D:Program

FilesSASHomeSASVersionedJarRepositorypicklist

-Xms128m

-Xmx128m

调整后:

第五步:更新SID文件,把系统时间调整为正确的日期。

更新SID的方法自己百度。

在更新SID文件时你可能遇到各种问题。。。。

问题1:下载的SID与你安装的SAS版本不匹配导致无法更新。

解决方法:

1.进入sas安装包,install_doc下面的文件夹里找到,用浏览器打开。复制其中的order number,Tech Support Site Number。

2.打开sid文件(就是txt文件)。order=*** 替换成复制好的order

number; Setnumid 替换成复制好的Tech Support Site Number。

3.可以正常安装了

问题2:更新报错。

解决方法:

这种情况不用慌,其实是更新成功了。选择是,把记事本文件关闭。然后出现下面的对话框,选择是。

打开SAS,提交程序: proc setinit;run;时间显示为你所更新的SID的到期日,更新成功。

问题3:正常更新SID的方法行不通。报错:an error occurred applying the setinit

file. The log file was not created. Please verify that no other SAS applications are

running and that you have sufficient permissions for the following folders:

D:/Program Files/SASHome/SASFoundation/9.3/core/sasinst

D:/Program Files/SASHome/SASFoundation/9.3/core/sashelp

解决方法:将最新的sid文件中的SAVE; RUN 这部分在增强型编辑器中提交就可以更新了。

最后提供一个可以用到2016年6月的SAS9.3 64bit SID

[_SID_]

Version=9.3

Revision=9.3

Platform_long=Microsoft Windows Workstation for x64

Platform_short=wx6

Order=99LSPB

License_prod=SAS

Setnumid=70084768

SID_schema=2

ph_agreement=PROMPT

SID_header=SAS 9.3

[_Info_]

[_FileData_]

$_Filename=

$_Path=sascoresasinst

$_Date=

$_Time=

$_Stream=-------------------- BEGIN --------------------

PROC SETINIT RELEASE='9.3';

SITEINFO NAME='LICENCE GRATUITE EAS WINDOWS 64 BITS'

SITE=70109265 OSNAME='WX64_WKS' RECREATE

BIRTHDAY='04SEP2015'D EXPIRE='31JUL2016'D PASSWORD=411934304;

CPU MODEL=' ' MODNUM=' ' SERIAL=' ' NAME=CPU000;

EXPIRE 'PRODNUM000' 'PRODNUM001' 'PRODNUM002' 'PRODNUM003'

'PRODNUM004' 'PRODNUM005' 'PRODNUM006' 'PRODNUM007'

'PRODNUM008' 'PRODNUM010' 'PRODNUM012' 'PRODNUM013'

'PRODNUM015' 'PRODNUM018' 'PRODNUM025' 'PRODNUM035'

'PRODNUM070' 'PRODNUM075' 'PRODNUM095' 'PRODNUM119'

'PRODNUM123' 'PRODNUM164' 'PRODNUM165' 'PRODNUM166'

'PRODNUM167' 'PRODNUM192' 'PRODNUM194' 'PRODNUM204'

'PRODNUM208' 'PRODNUM209' 'PRODNUM215' 'PRODNUM219'

'PRODNUM225' 'PRODNUM535' 'PRODNUM538' 'PRODNUM550'

'PRODNUM555' 'PRODNUM557' 'PRODNUM560' 'PRODNUM633'

'PRODNUM645' 'PRODNUM646' '31JUL2016'D CPU=CPU000;

SAVE; RUN;

PRODNUM000 = BASE Base SAS;

PRODNUM001 = STAT SASSTAT;

PRODNUM002 = GRAPH SASGRAPH;

PRODNUM003 = ETS SASETS;

PRODNUM004 = FSP SASFSP;

PRODNUM005 = OR SASOR;

PRODNUM006 = AF SASAF;

PRODNUM007 = IML SASIML;

PRODNUM008 = QC SASQC;

PRODNUM010 = SHARE SASSHARE;

PRODNUM012 = LAB SASLAB;

PRODNUM013 = ASSIST SASASSIST;

PRODNUM015 = CONNECT SASCONNECT;

PRODNUM018 = INSIGHT SASINSIGHT;

PRODNUM025 = EIS SASEIS;

PRODNUM035 = SHARENET SASSHARENET;

PRODNUM070 = MDDBCOM MDDB Server common products;

PRODNUM075 = INTTECHSRV SAS Integration Technologies;

PRODNUM095 = SECUREWBNDL SASSecure Windows;

PRODNUM119 = EGUIDE SAS Enterprise Guide;

PRODNUM123 = ESRIBRDGORD SAS Bridge for ESRI;

PRODNUM164 = OROPT SASOR Optimization;

PRODNUM165 = ORPRS SASOR Project and Resource Scheduling;

PRODNUM166 = ORIVS SASOR Interactive Visualization and Simulation;

PRODNUM167 = ORLSO SASOR Local Search Optimization;

PRODNUM192 = DB2BNDL SASACCESS DB2;

PRODNUM194 = ORACLEBNDL SASACCESS ORACLE;

PRODNUM204 = SYBASE SASACCESS SYBASE SQL;

PRODNUM208 = PCFILE SASACCESS PC Files;

PRODNUM209 = ODBC SASACCESS ODBC;

PRODNUM215 = OLEDB SASACCESS TO OLE DB;

PRODNUM219 = TERADATABNDL SASACCESS Teradata;

PRODNUM225 = MYSQL SASACCESS Intface MYSQL;

PRODNUM535 = STATSTUDIO SASIML Studio;

PRODNUM538 = WKSPSRVLOCAL SAS Workspace Server for Local Access;

PRODNUM550 = NETEZZABNDL SASACCESS Netezza;

PRODNUM555 = ASTERBNDL SASACCESS Interface to Aster nCluster;

PRODNUM557 = GREENPLMBNDL SASACCESS Interface to Greenplum;

PRODNUM560 = SYBASEIQBNDL SASACCESS Interface to Sybase IQ;

PRODNUM633 = DFTRANDRVR DataFlux Driver for Transactional Database;

PRODNUM645 = DFFEDSAS SAS Framework Data Server;

PRODNUM646 = DFSCRFEDSAS DataFlux Secure;

LICENSE=SAS ;

SITEID=595791;

9.3;

XYZ 595791;

$_Stream=--------------------- END ---------------------

$_Filename=

$_Path=.

$_Date=

$_Time=

$_Stream=-------------------- BEGIN --------------------

Microsoft Windows Workstation for x64

Base SAS 31JUL2016

Education Analytical Suite 31JUL2016

SAS Bridge for ESRI 31JUL2016

SAS Enterprise Guide 31JUL2016

SAS Integration Technologies 31JUL2016

SASACCESS Interface to Aster nCluster 31JUL2016

SASACCESS Interface to DB2 31JUL2016

SASACCESS Interface to Greenplum 31JUL2016

SASACCESS Interface to MySQL 31JUL2016

SASACCESS Interface to Netezza 31JUL2016

SASACCESS Interface to ODBC 31JUL2016

SASACCESS Interface to OLE DB 31JUL2016

SASACCESS Interface to Oracle 31JUL2016

SASACCESS Interface to PC Files 31JUL2016

SASACCESS Interface to Sybase 31JUL2016

SASACCESS Interface to Sybase IQ 31JUL2016

SASACCESS Interface to Teradata 31JUL2016

SASAF 31JUL2016

SASASSIST 31JUL2016

SASCONNECT 31JUL2016

SASEIS 31JUL2016

SASETS 31JUL2016

SASFSP 31JUL2016

SASGRAPH 31JUL2016

SASIML 31JUL2016

SASINSIGHT 31JUL2016

SASLAB 31JUL2016

SASOR 31JUL2016

SASQC 31JUL2016

SASSECURE Windows 31JUL2016

SASSHARE 31JUL2016

SASSTAT 31JUL2016

$_Stream=--------------------- END ---------------------

[_EOF_]


本文标签: 文件 安装 方法 打开 系统