-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProgram.log
More file actions
57 lines (49 loc) · 2.33 KB
/
Copy pathProgram.log
File metadata and controls
57 lines (49 loc) · 2.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
72
73 /**********************************************************************************************
74 * BAN130 – Assignment 2
75 * I declare that this assignment is my own work in accordance with Seneca Academic Policy.
76 * No part of this assignment has been copied manually or electronically from any other source
77 * (including web sites) or distributed to other students.
78 *
79 *Name: HaPhan Tran Student ID: 122 699 176 Date: Sep 20, 2019
80 *
81 * QUESTION No: 3
82 ***********************************************************************************************/
83 *data step to input data from text file;
84 data Bank;
85 infile '/folders/myfolders/ban130/data/bankdata.txt';
86 input Name $ 1-15
87 Acct $ 16-20
88 Balance 21-27
89 Rate 28-30;
90 Interest = Balance*rate;
91
92
93 run;
NOTE: The infile '/folders/myfolders/ban130/data/bankdata.txt' is:
Filename=/folders/myfolders/ban130/data/bankdata.txt,
Owner Name=root,Group Name=vboxsf,
Access Permission=-rwxrwx---,
Last Modified=12Sep2019:16:50:22,
File Size (bytes)=126
NOTE: 4 records were read from the infile '/folders/myfolders/ban130/data/bankdata.txt'.
The minimum record length was 30.
The maximum record length was 30.
NOTE: The data set WORK.BANK has 4 observations and 5 variables.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
cpu time 0.01 seconds
94 title "Banking Data with interest computed";
95 proc print data=bank;
96 format balance dollar10.2 interest dollar10.2 rate percent6.2;
97 *display data with appropriate format;
98 run;
NOTE: There were 4 observations read from the data set WORK.BANK.
NOTE: At least one W.D format was too small for the number to be printed. The decimal may be shifted by the "BEST" format.
NOTE: PROCEDURE PRINT used (Total process time):
real time 0.04 seconds
cpu time 0.04 seconds
99
100 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
112