14 data test;
15 infile 'C:\mysaslib\Elance_Angela\size';
16 input @1 height 2. @4 weight 2;
NOTE: The infile 'size' is:
RECFM=V,LRECL=256,File Size (bytes)=5,
NOTE: 1 record was read from the infile 'C:\mysaslib\Elance_Angela\size'.
The minimum record length was 5.
The maximum record length was 5.
NOTE: The data set WORK.TEST has 1 observations and 2 variables.
NOTE: DATA statement used (Total process time):
real time 0.02 seconds
cpu time 0.01 seconds
The SAS formatted input method is used for reading in the raw data with the statement, input @1 height 2. weight 2 ;. Here, the format defined for weight is incorrect. To read in the file correctly, the data value statement is as follows (with a period after the '2' following weight: input @1 height 2. @4 weight 2.
Mike Apr 18, 2014LV May 02, 2014Ashu May 08, 2014chani Nov 18, 2014Shashikanth Rai Jan 15, 2015A M Feb 16, 2015Hongrui Mar 29, 2015Pong Apr 09, 2015Keith Apr 20, 2015shovland Nov 17, 2016juanwu36 Jul 21, 2017Tofik Mussa Oct 13, 2017Dahui May 29, 2018Nirali81 Jun 18, 2018
Bi Exam Academy
The one and only FREE resource for general SAS online training as well as study guides for the SAS Base Certification. My goal is to create the SAS Certification prep guide that I never found but always wanted. This should also be a place to come if you are new to the language but are simply looking for online SAS training.