23 data work.translate;
NOTE: The data set WORK.TRANSLATE has 1 observations and 3 variables.
NOTE: DATA statement used (Total process time):
real time 0.01 seconds
cpu time 0.01 seconds
The first time a variable is encountered, its name, type, and length are set. In the example, var1 is first seen at compile time in the assignment statement. At that point, the variable is named var1, its type is set to character, and its length is set to 7. This is visible in the output dataset below.
For more information on the TRANWRD function (which replaces character strings with other character strings), please see the following link: SAS.com TRANWRD
Kristine Feb 15, 2015Abhi Apr 09, 2015radiohead Apr 29, 2015ankans Jun 09, 2015rsnavarro98 Oct 04, 2016
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.