Hi Ballardw, thanks for replying to my post. This is my first time posting here and I am sorry if I messed up with the format. The text is here: RANCH,1250,2,1,Sheppard Avenue,"64,000"
SPLIT,1190,1,1,Rand Street,"$65,850"
CONDO,1400,2,1.5,Market Street,"80,050"
TWOSTORY,1810,4,3,Garris Street,"$107.250"
RANCH,1500,3,3,Kemble Avenue,"$86,650"
SPLIT,1615,4,3,West Drive,"94,450"
SPLIT,1305,3,1.5,Graham Avenue,"$73,650" Here is my log:
1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
68
69 DATA work.condo_ranch;
70 INFILE '/home/u63748921/SAS 123 Problems/sas123_p13.txt' DSD DLM=',';
71 INPUT style : $10. @;
72 IF style = 'RANCH' OR style = 'CONDO' THEN INPUT sqfeet bedrooms baths street : $20. price : dollar10.;
73 RUN;
NOTE: The infile '/home/u63748921/SAS 123 Problems/sas123_p13.txt' is:
Filename=/home/u63748921/SAS 123 Problems/sas123_p13.txt,
Owner Name=u63748921,Group Name=oda,
Access Permission=-rw-r--r--,
Last Modified=09May2024:09:49:58,
File Size (bytes)=282
NOTE: 8 records were read from the infile '/home/u63748921/SAS 123 Problems/sas123_p13.txt'.
The minimum record length was 1.
The maximum record length was 43.
NOTE: The data set WORK.CONDO_RANCH has 8 observations and 6 variables.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
user cpu time 0.01 seconds
system cpu time 0.00 seconds
memory 797.00k
OS Memory 19620.00k
Timestamp 05/10/2024 04:00:32 PM
Step Count 24 Switch Count 2
Page Faults 0
Page Reclaims 207
Page Swaps 0
Voluntary Context Switches 21
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 264
74
75
76
77
78
79 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
89
User: u63748921 Thanks for the suggestions about defining the length of variables. I have made those changes.
... View more