how can u create zero observation dataset?

Answer Posted / nagendra

data class;
 set sashelp.class;
  if _n_ >=  Then delete;
 run;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How substr function works in sas?

886


Differentiate input and infile.

818


What are the functions which are used for character handling functions?

824


Differences between where and if statement?

782


what is a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming

765


How do you debug and test your SAS programs?

1265


How would you define the end of a macro? : sas-macro

838


how does sas handle missing values in assignment statements? : Sas programming

783


How to create an external dataset with sas code?

792


What is the difference between nodupkey and nodup options?

788


Approximately what date is represented by the SAS date value of 730?

971


how to generate the test data in sas without input data? : Sas-administrator

815


what is star schema? : Sas-di

842


what is the purpose of _error_? : Sas programming

844


What’s the difference between var b1 – b3 and var b1 — b3?

1054