1.What is the difference between _NULL_ , _ALL_, and _N_?
2.What are the uses of _NULL_ using in Data Steps? Can we
_NULL_ in Proc Steps also?
3.How do call the macro variable in Data Steps?
4.How to construct Pivot tables in Excel Using SAS?
Answers were Sorted based on User's Feedback
Answer / chandrakanth
_null_ will act like any other data step but it would not create any data set.
_all_ will select all the variables in a particular data set.
_n_ is the automatic variable generated by SAS which counts the number of loops SAS moved to the top of data set
(but some people say it is total number of observations which is not always true)
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / aravind9882
_null_ is used in datstep not to create a dataset.
_all_ means all..foe instance all variables like char and
numeric...if u use in ods statement like ods _all_ close
closes the all d destinations u have opened instead of
writing each...
u can cal a macro bariable using '&' lke call symget...
| Is This Answer Correct ? | 1 Yes | 3 No |
Answer / pnprasad
1. _NULL_ is not create Out put DataSet, it opens the file
to write the dataset. _ALL_ for display contents in the
library & used in cose the files in ODS and _N_ for search
for Null characters.
| Is This Answer Correct ? | 0 Yes | 19 No |
how can u join the two tables without using proc sql Joins and nested queries ?
what other SAS features do you use for error trapping and data validation?
How to do user inputs and command line arguments in SAS? D&B
How to convert a given date value into SAS date
9 Answers CitiGroup, Quintiles,
Explain data_null_?
how do you pull data from equifax?tell me the process?
0 Answers Synchrony Financial,
What can you learn from the SAS log when debugging?
i have a null dataset with 10 variables; i want to print only name of the varibales in log window and also output window.how can we do this one?
What is the difference between the proc sql and data step?
What is the difference between nodupkey and nodup options?
how to know the attributes of first five datasets in a library
what is study design in while working with SAS? what are screening variables in SAS?