03-14-2014 12:39 AM
Hi I am relatively to SAS and I am learning it on my own. Recently I have discovered '_null_' function and as far as I understand it allows you to create a virtual data set without really creating it say in work library. I have several questions.
03-14-2014 04:30 AM
For more information on names in the SAS Language check out the documentation
As a general advice, do not use names that start and end with an underscore.
Use case for the _NULL_: if the DATA Step is to wright a text file, there is no need to create a SAS data set
03-14-2014 05:10 AM
You use data _null_ if you need the functionality of the data step for something other than creating SAS data sets.
- Calculating macro variables
- Writing a flat file
- check something and write a comment into the log of a longer job
- testing something for yourself to check if your line of thought is sane
and so on