3 4 2

Similar documents

technews2012autumn


libref libref libref

DATA Sample1 /**/ INPUT Price /* */ DATALINES

SAS Web XML * ** * ** Web Data Analysis with SAS Input and Output of XML Data and Application to Real Estate Valuation Map Junnosuke Matsushima*, Hiro

UNIX版SAS/Warehouse Administrator ソフトウェア


(1)


Proc luaを初めて使ってみた -SASでの処理を条件に応じて変える- 淺井友紀 ( エイツーヘルスケア株式会社 ) I tried PROC LUA for the first time Tomoki Asai A2 Healthcare Corporation

Antenna House PDF Server V3.1 ユーザーズマニュアル

untitled

ProVAL Recent Projects, ProVAL Online 3 Recent Projects ProVAL Online Show Online Content on the Start Page Page 13

2004/01/ /01/23 2 I /04/ /04/ ,-1-8-1,-2-2-1,-3-4-1,-3-5-1,-4-2-1, ,-5-6-1, _.doc 1

Microsoft PowerPoint - SUGI2011_EPS_Konno.ppt

PROC PWENCODE IN=sastrust1 ; RUN ;

1 I EViews View Proc Freeze

ODS GRAPHICS ON; ODS GRAPHICS ON; PROC TTEST DATA=SASHELP.CLASS SIDE=2 DIST=NORMAL H0=58 PLOTS(ONLY SHOWH0)=(SUMMARY); VAR HEIGHT;

WebClass

2 3


スライド 1


表1-表4宅建98.indd

はじめての帳票作成

帳票設計ツールの使用手引き_V1.PDF

スタートアップガイド_応用編

10st_jp_p43_44.indd

DsnNavi の使い方.pdf Rev. May, 2013 Downloadable Free Software DsnNavi Navigation Program for "Dac8100.wea", the Design Weather Data for Air-Conditioning


iR-ADV C2230/C2220 製品カタログ

Presentation Title Goes Here

Slide 1


2

Report Manager Bill of Materials Component Cross Reference Report Manager Report Manager Grouped Columns All Columns 2 All Columns Report Manager 1. S


Copyright 2017 JAPAN POST BANK CO., LTD. All Rights Reserved. 1

スライド 1

GNU Emacs GNU Emacs

P. 2 P. 4 P. 5 P. 6 P. 7 P. 9 P.10 P.12 P.13 P.14 P.14 P.15 P.17 P.18 P.20 P P P P P.25 P.27 P.28 Copyright 2016 JAPAN POST BA

データ構造の作成 一時 SAS データセットと永久 SAS データセットの作成 テキストファイルから SAS データセットを作成するための DATA ステップの使用例 : Data NewData; Infile "path.rawdata"; Input <pointer-control> var

Cleaner XL 1.5 クイックインストールガイド



untitled


システム必要条件 - SAS Fraud Management 3.1

2/13

Microsoft PowerPoint - コピー ~ SUGI-J2011_proceeding_Takumi_Sakoda配布用ロゴあり.ppt [互換モード]

output2010本文.indd

やよいの顧客管理

弥生給与/やよいの給与計算

弥生 シリーズ

弥生会計 プロフェッショナル/スタンダード/やよいの青色申告

弥生会計/やよいの青色申告

弥生会計 ネットワーク/プロフェッショナル2ユーザー

RT300i/RT140x/RT105i 取扱説明書

Release Notes for JMP book

untitled



init: /**/ call notify(., _get_widget_, graph1, graphid); return; graph1: /**/ title1=getnitemc(graphid, title1 ); /**/ call display( title.frame, tit

Keysight Technologies U3051B BusXpert Microシリーズ SAS/SATAプロトコル・アナライザ

要旨 : Windows GUI と外部ソフトウェアを SAS と連携させ 環境に依存しない使いやすい Windows GUI メニューを利用することにより 複雑なレイアウトの EXCEL シートのデータを SAS データセットに変換し SAS の分析機能を利用するまでの方法を紹介する キーワード

untitled

untitled

橡07第1章1_H160203_.PDF

RT300/140/105シリーズ 取扱説明書

報告書.PDF



DX-PC55_−ç(0)-A


Transcription:

A Comparison of SAS Functions Designed for Creating Excel Output in a Stand-alone Environment and a BI Environment. Koichi Satoh Takumi Information Technology Co., Ltd. ODS EXCELXP ODS HTML ODS CSVALL DDE LIBNAME EXCEL EXPORT ODS EXCELXP ODS HTML ODS CSVALL DDE LIBNAME EXCEL EXPORT 2 1

3 4 2

ODS TAGSETS.EXCELXP ODS HTML ODS CSVALL DDE LIBNAME EXCEL EXPORT 5 ODS EXCELXP ODS TAGSETS.EXCELXP FILE = "filename" ; ODS TAGSETS.EXCELXP CLOSE ; Sample ODS TAGSETS.EXCELXP FILE = EXCELXP.XLS ; PROC PRINT DATA = SASHELP.CLASS ; RUN ; ODS TAGSETS.EXCELXP CLOSE ; ODS 6 3

ODS HTML ODS HTML FILE = "filename" ; ODS HTML CLOSE ; Sample ODS HTML FILE = HTML.XLS ; PROC PRINT DATA = SASHELP.CLASS ; RUN ; ODS HTML CLOSE ; ODS HTML SAS Ver 9.1 ODS 7 ODS CSVALL ODS CSVALL FILE = "filename" ; ODS CSVALL CLOSE ; Sample ODS CSVALL FILE = CSV.XLS ; PROC PRINT DATA = SASHELP.CLASS ; RUN ; ODS CSVALL CLOSE ; ODS CSVALL ODS TAGSETS.CSVALL CSVALL CSV 8 4

DDE Dynamic Data Exchange) FILENAME fileref DDE 'DDE-triplet' <DDE-options>; Sample FILENAME OUT DDE excel sheet1!r1c1:r100c100 NOTAB ; DATA _NULL_ ; FILE OUT ; SET SASHELP.CLASS ; PUT (_ALL_)( '09'x ) ; RUN ; FILENAME CMD DDE excel system ; DATA _NULL_ ; FILE CMD ; PUT [QUIT()] ; RUN ; 9 LIBNAME EXCEL LIBNAME libref <engine> <'SAS-data-library'> ; Sample LIBNAME IN EXCEL "LIBNAME.xls" ; DATA IN.EXCEL ; SET SASHELP.CLASS ; RUN; SAS sheet1 n 10 5

EXPORT PROC EXPORT DATA=<libref.>SAS-data-set <(SAS-data-set-options)> OUTFILE="filename" OUTTABLE="tablename" <DBMS=identifier> <REPLACE>; <data-source-statement(s);> RUN; Sample PROC EXPORT DATA = SASHELP.CLASS OUTFILE = " EXPORT.xls" DBMS = EXCEL ; SHEET = sample ; RUN ; 11 12 6

13 SAS/ACCESS Interface to PC Files 14 7

15 16 8

17 18 9

19 20 10

ODS TAGSETS.EXCELXP ODS HTML ODS CSVALL DDE LIBNAME EXCEL EXPORT 21 ODS EXCELXP ODS HTML ODS CSVALL DDE LIBNAME EXCEL EXPORT 22 11

ODS TAGSETS.EXCELXP ODS HTML ODS CSVALL DDE LIBNAME EXCEL EXPORT 23 ODS EXCELXP ODS HTML ODS CSVALL DDE LIBNAME EXCEL EXPORT DDE SAS/ACCESS Interface to PC Files SAS/ACCESS Interface to PC Files 24 12

25 BISP AMO BISP AMO 26 13

XLS Base SAS SAS/ACCESS Interface to PC Files 27 ODS TAGSETS.EXCELXP ODS TAGSETS.EXCELXP 28 14

ODS TAGSETS.EXCELXP http://support.sas.com/rnd/base/ods/odsmarkup/excltags.tpl SASUSER %include 'c: temp excltags.tpl'; libname xxx 'c: temp' ; ods path(prepend) xxx.templat(update); %include 'c: temp excltags.tpl'; libname xxx 'c: temp' ; ods path(prepend) xxx.templat(read); 29 ODS TAGSETS.EXCELXP OPTION WEB http://support.sas.com/rnd/base/ods/odsmarkup/excelxp_help.html SAS ODS TAGSETS.EXCELXP file='c: temp test.xml' OPTIONS ( Doc = 'Help' ); ODS TAGSETS.EXCELXP CLOSE; 30 15

ODS TAGSETS.EXCELXP OPTIONS PAPERSIZE = A4; Orientation Scale FitToPage Pages_FitWidth Pages_FitHeight OPTIONS PAPERSIZE = A4; ODS TAGSETS.EXCELXP FILE = c: temp sample1.xls STYLE = minimal OPTIONS (Orientation = 'Portrait Scale = 100' ) ; ODS TAGSETS.EXCELXP CLOSE ; ODS TAGSETS.EXCELXP OPTIONS (Orientation = 'landscape FitToPage = 'yes' Pages_FitWidth = '1' Pages_FitHeight = '100' ) ; 31 SAS Institute Inc. ODS MARKUP Resources. http://support.sas.com/rnd/base/ods/odsmarkup/ SAS Institute Japan. SAS 1 ODS. 32 16