The script uses the `sashelp.prdsale` dataset, which is a standard example dataset provided with SAS and accessible without additional configuration.
1 Code Block
DATA STEP
Explanation : This code block is a `DATA STEP` that does not create a permanent dataset (indicated by `_null_`). It reads the `sashelp.prdsale` dataset. The `PUT` statements display the current values of the `actual-numeric-month` and `country-character-product` variables for each observation in the SAS log. This is useful for quick data inspection without generating structured output.
Copied!
data _null_ ;
set sashelp.prdsale ;
put actual-numeric-month ;
put country-character-product ;
run ;
1
DATA _null_ ;
2
SET sashelp.prdsale ;
3
put actual-numeric-month ;
4
put country-character-product ;
5
RUN ;
This material is provided "as is" by We Are Cas. There are no warranties, expressed or implied, as to merchantability or fitness for a particular purpose regarding the materials or code contained herein. We Are Cas is not responsible for errors in this material as it now exists or will exist, nor does We Are Cas provide technical support for it.
SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration. WeAreCAS is an independent community site and is not affiliated with SAS Institute Inc.
This site uses technical and analytical cookies to improve your experience.
Read more.