Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how can u create zero observation dataset?

Answers were Sorted based on User's Feedback



how can u create zero observation dataset?..

Answer / chandra sekar

Use the following step

data test;
delete;
run;

Is This Answer Correct ?    15 Yes 3 No

how can u create zero observation dataset?..

Answer / veerendra

data check;
set _null_;
run;

Is This Answer Correct ?    12 Yes 0 No

how can u create zero observation dataset?..

Answer / srilatha

creating a data set by using the like clause.

ex: proc sql;
create table latha.emp like oracle.emp;
quit;

in this the like clause triggers the existing table
structure to be copied to the new table.using this method
result in the creation of an empty table.

Is This Answer Correct ?    10 Yes 2 No

how can u create zero observation dataset?..

Answer / pramod.c

data temp;
stop;
run;

Is This Answer Correct ?    7 Yes 1 No

how can u create zero observation dataset?..

Answer / kk

data ans;
input a b;
cards;
run;

Is This Answer Correct ?    3 Yes 0 No

how can u create zero observation dataset?..

Answer / din

data a ;
set b(obs=0);
run;

Is This Answer Correct ?    1 Yes 0 No

how can u create zero observation dataset?..

Answer / nagendra

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

Is This Answer Correct ?    0 Yes 0 No

how can u create zero observation dataset?..

Answer / sheetal

data a;
set b;
stop;
run;

Is This Answer Correct ?    2 Yes 5 No

how can u create zero observation dataset?..

Answer / sm

data blank;
input a b;
delete;
run;

Is This Answer Correct ?    1 Yes 4 No

how can u create zero observation dataset?..

Answer / vishnu

for example
data vishnu;
length name $ age ;
run;
proc print data=vishnu;
run;

Is This Answer Correct ?    7 Yes 11 No

Post New Answer

More SAS Interview Questions

6) Explain about below automatic variables a) _N_ b) _ERROR_ c) _CHAR_ d) _NUMERIC_ e) _ALL_ f) FIRST.BY VARIABLE g) LAST.BY VARIABLE h) _NAME_ i) _TYPE_ j) _FREQ_ k) _STAT_ l) _BREAK

1 Answers   IBM, SAS,


What is the pound sign used for in the data_null_ ?

1 Answers  


What are the ways to do a “table lookup” in sas?

0 Answers  


hi guys ...i have one query... data abc; input s w k g o t a m; cards; 1 2 3 4 5 6 7 8 2 3 4 5 6 7 8 9 ; run; i want the output to be the sorted order(only variables).observations should not be changed..

14 Answers  


Code the MEANS to produce output to be used later.

2 Answers  


Approximately what date is represented by SAS date value of 730

9 Answers  


%STPbegin;%STPEND; ERROR: No logical assign for filename _WEBOUT. WARNING: No body file. HTML output will not be created. unable to fix it.plz help

2 Answers  


if the Id has more then two transcatiion then show the first observation, IF Id has only two observation then It show both the observation

0 Answers   CTS,


What can you learn from the SAS log when debugging?

0 Answers   Quintiles,


Can you execute macro within another macro? : sas-macro

0 Answers  


Why is SAS considered self-documenting?

1 Answers   Quintiles,


what is TAB delimiter? explain about it? what will you do to get TAB delimiter?

3 Answers   Cap Gemini,


Categories