124 data work.farm;
125 PlantID = 001;
126 ItemID = '5852';
127 ReferenceID = ItemID||'/'||PlantID ;
NOTE: Numeric values have been converted to character values at the places given by: (Line):(Column).
NOTE: The data set WORK.FARM has 1 observations and 3 variables.
NOTE: DATA statement used (Total process time):
real time 0.01 seconds
cpu time 0.00 seconds
Automatic numeric to character conversion generates a BEST12. formatted value that is right aligned. In this case, the '001' entered into ReferenceID shows up in the concatenation as 11 blanks and 1 digit.
The newly created variable is visible in the output below:
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.