In [1]:
proc print data=sashelp.class;
run;
SAS Connection established. Subprocess id is 274704
Out[1]:
SAS Output
The SAS System
Obs
Name
Sex
Age
Height
Weight
1
Alfred
M
14
69.0
112.5
2
Alice
F
13
56.5
84.0
3
Barbara
F
13
65.3
98.0
4
Carol
F
14
62.8
102.5
5
Henry
M
14
63.5
102.5
6
James
M
12
57.3
83.0
7
Jane
F
12
59.8
84.5
8
Janet
F
15
62.5
112.5
9
Jeffrey
M
13
62.5
84.0
10
John
M
12
59.0
99.5
11
Joyce
F
11
51.3
50.5
12
Judy
F
14
64.3
90.0
13
Louise
F
12
56.3
77.0
14
Mary
F
15
66.5
112.0
15
Philip
M
16
72.0
150.0
16
Robert
M
12
64.8
128.0
17
Ronald
M
15
67.0
133.0
18
Thomas
M
11
57.5
85.0
19
William
M
15
66.5
112.0
In [2]:
proc means data=sashelp.cars;
run;
Out[2]:
SAS Output
The SAS System
The MEANS Procedure
Variable
Label
N
Mean
Std Dev
Minimum
Maximum
MSRP
Invoice
EngineSize
Cylinders
Horsepower
MPG_City
MPG_Highway
Weight
Wheelbase
Length
Engine Size (L)
MPG (City)
MPG (Highway)
Weight (LBS)
Wheelbase (IN)
Length (IN)
428
428
428
426
428
428
428
428
428
428
32774.86
30014.70
3.1967290
5.8075117
215.8855140
20.0607477
26.8434579
3577.95
108.1542056
186.3621495
19431.72
17642.12
1.1085947
1.5584426
71.8360316
5.2382176
5.7412007
758.9832146
8.3118130
14.3579913
10280.00
9875.00
1.3000000
3.0000000
73.0000000
10.0000000
12.0000000
1850.00
89.0000000
143.0000000
192465.00
173560.00
8.3000000
12.0000000
500.0000000
60.0000000
66.0000000
7190.00
144.0000000
238.0000000
In [3]:
%showFullLog
1 The SAS System 09:33 Monday, October 29, 2018
NOTE: Copyright (c) 2016 by SAS Institute Inc., Cary, NC, USA.
NOTE: SAS (r) Proprietary Software 9.4 (TS1M6)
Licensed to SAS Institute Inc., Site 1.
NOTE: This session is executing on the X64_10PRO platform.
NOTE: Analytical products:
SAS/STAT 15.1
SAS/ETS 15.1
SAS/OR 15.1
SAS/IML 15.1
SAS/QC 15.1
NOTE: Additional host information:
X64_10PRO WIN 10.0.16299 Workstation
NOTE: SAS Initialization used (Total process time):
real time 0.01 seconds
cpu time 0.00 seconds
1 ;*';*";*/;
2 options svgtitle='svgtitle'; options validvarname=any pagesize=max nosyntaxcheck; ods
2 ! graphics on;
3
4 ;*';*";*/;
5 %put E3969440A681A2408885998500000001;
E3969440A681A2408885998500000001
6
2 The SAS System 09:33 Monday, October 29, 2018
7 ods listing close;ods html5 (id=saspy_internal) file=_tomods1
7 ! options(bitmap_mode='inline') device=svg style=HTMLBlue; ods graphics on /
7 ! outputfmt=png;
NOTE: Writing HTML5(SASPY_INTERNAL) Body file: _TOMODS1
8 ;*';*";*/;
9 libname work list;
NOTE: Libref= WORK
Scope= IOM ROOT COMP ENV
Engine= V9
Access= TEMP
Physical Name= C:\Users\jadean\AppData\Local\Temp\SAS Temporary
Files\_TD247484_D7B445_\Prc44
Filename= C:\Users\jadean\AppData\Local\Temp\SAS Temporary Files\_TD247484_D7B445_\Prc44
Owner Name= CARYNT\jadean
File Size= 4KB
File Size (bytes)= 4096
10
11 ;*';*";*/;ods html5 (id=saspy_internal) close;ods listing;
12
13 %put E3969440A681A2408885998500000002;
E3969440A681A2408885998500000002
14
3 The SAS System 09:33 Monday, October 29, 2018
15 ods listing close;ods html5 (id=saspy_internal) file=_tomods1
15 ! options(bitmap_mode='inline') device=svg style=HTMLBlue; ods graphics on /
15 ! outputfmt=png;
NOTE: Writing HTML5(SASPY_INTERNAL) Body file: _TOMODS1
16 ;*';*";*/;
17 %put SYSV=&sysvlong4;
SYSV=9.04.01M6P10222018
18
19 ;*';*";*/;ods html5 (id=saspy_internal) close;ods listing;
20
21 %put E3969440A681A2408885998500000003;
E3969440A681A2408885998500000003
22
4 The SAS System 09:33 Monday, October 29, 2018
23 ods listing close;ods html5 (id=saspy_internal) file=_tomods1
23 ! options(bitmap_mode='inline') device=svg style=HTMLBlue; ods graphics on /
23 ! outputfmt=png;
NOTE: Writing HTML5(SASPY_INTERNAL) Body file: _TOMODS1
24 ;*';*";*/;
25 proc options option=encoding;run;
SAS (r) Proprietary Software Release 9.4 TS1M6
ENCODING=WLATIN1 Specifies the default character-set encoding for the SAS session.
NOTE: PROCEDURE OPTIONS used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
26
27 ;*';*";*/;ods html5 (id=saspy_internal) close;ods listing;
28
29 %put E3969440A681A2408885998500000004;
E3969440A681A2408885998500000004
30
5 The SAS System 09:33 Monday, October 29, 2018
31 ods listing close;ods html5 (id=saspy_internal) file=_tomods1
31 ! options(bitmap_mode='inline') device=svg style=HTMLBlue; ods graphics on /
31 ! outputfmt=png;
NOTE: Writing HTML5(SASPY_INTERNAL) Body file: _TOMODS1
32 ;*';*";*/;
33 data _null_; run;
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
34
35 ;*';*";*/;ods html5 (id=saspy_internal) close;ods listing;
36
37 %put E3969440A681A2408885998500000005;
E3969440A681A2408885998500000005
38
6 The SAS System 09:33 Monday, October 29, 2018
39 ods listing close;ods html5 (id=saspy_internal) file=_tomods1
39 ! options(bitmap_mode='inline') device=svg style=HTMLBlue; ods graphics on /
39 ! outputfmt=png;
NOTE: Writing HTML5(SASPY_INTERNAL) Body file: _TOMODS1
40 ;*';*";*/;
41 proc print data=sashelp.class;
42 run;
NOTE: There were 19 observations read from the data set SASHELP.CLASS.
NOTE: PROCEDURE PRINT used (Total process time):
real time 0.03 seconds
cpu time 0.04 seconds
43
44 ;*';*";*/;ods html5 (id=saspy_internal) close;ods listing;
45
46 %put E3969440A681A2408885998500000006;
E3969440A681A2408885998500000006
47
7 The SAS System 09:33 Monday, October 29, 2018
48 ods listing close;ods html5 (id=saspy_internal) file=_tomods1
48 ! options(bitmap_mode='inline') device=svg style=HTMLBlue; ods graphics on /
48 ! outputfmt=png;
NOTE: Writing HTML5(SASPY_INTERNAL) Body file: _TOMODS1
49 ;*';*";*/;
50 proc means data=sashelp.cars;
51 run;
NOTE: There were 428 observations read from the data set SASHELP.CARS.
NOTE: PROCEDURE MEANS used (Total process time):
real time 0.06 seconds
cpu time 0.06 seconds
52
53 ;*';*";*/;ods html5 (id=saspy_internal) close;ods listing;
54
55 %put E3969440A681A2408885998500000007;
E3969440A681A2408885998500000007
56
In [4]:
%showLog
7 The SAS System 09:33 Monday, October 29, 2018
48 ods listing close;ods html5 (id=saspy_internal) file=_tomods1
48 ! options(bitmap_mode='inline') device=svg style=HTMLBlue; ods graphics on /
48 ! outputfmt=png;
NOTE: Writing HTML5(SASPY_INTERNAL) Body file: _TOMODS1
49
50 proc means data=sashelp.cars;
51 run;
NOTE: There were 428 observations read from the data set SASHELP.CARS.
NOTE: PROCEDURE MEANS used (Total process time):
real time 0.06 seconds
cpu time 0.06 seconds
52
53 ods html5 (id=saspy_internal) close;ods listing;
54
In [5]:
%lsmagic
Available line magics:
%activity %cd %connect_info %conversation %dot %download %edit %get %help %html %include %install %install_magic %javascript %jigsaw %kernel %kx %latex %load %ls %lsmagic %macro %magic %matplotlib %parallel %plot %pmap %prompt4var %px %python %reload_magics %restart %run %scheme %set %shell %showFullLog %showLog
Available cell magics:
%%activity %%brain %%conversation %%debug %%dot %%file %%help %%html %%javascript %%kx %%latex %%macro %%pipe %%processing %%prompt4var %%px %%python %%scheme %%shell %%show %%time %%tutor
Content source: sassoftware/sas_kernel
Similar notebooks: