How could you generate test data with no input data?

Answers were Sorted based on User's Feedback



How could you generate test data with no input data?..

Answer / bitla

using random functions like RANUNI() RANBIN() etc
with DO loops
ex:
data one;
do i=1 to 1000;
x=ranuni(32223);
end;
run;

Is This Answer Correct ?    11 Yes 1 No

How could you generate test data with no input data?..

Answer / k ramesh

data testdata_anlyse;
do i=1 to 100;
x=rannor(i);
output;
end;
run;

Is This Answer Correct ?    3 Yes 1 No

How could you generate test data with no input data?..

Answer / x

data step with(empty data)/withuot set statement.

Is This Answer Correct ?    2 Yes 2 No

How could you generate test data with no input data?..

Answer / ganesh k

using PROC PLAN

Is This Answer Correct ?    1 Yes 1 No

How could you generate test data with no input data?..

Answer / chandra sekar

data test;
delete;
run;

Is This Answer Correct ?    3 Yes 12 No

How could you generate test data with no input data?..

Answer / bala

By using 'cards' and 'Datalines' statements

Is This Answer Correct ?    2 Yes 12 No

Post New Answer

More SAS Interview Questions

what is transformation in sas data integration? : Sas-di

0 Answers  


What is the difference Using & and && in the macro variables

5 Answers   Accenture,


What is the difference between informat and format statement?

1 Answers  


In PROC PRINT, can you print only variables that begin with the letter “A”?

8 Answers  


Which are the statements whose placement in the data step is critical?

0 Answers  






What do you feel about hardcoding?

1 Answers  


In SAS explain which statement does not perform automatic conversions in comparisons?

0 Answers  


How to sort in descending order?

0 Answers  


Explain the purpose of substr functions in sas programming.

0 Answers  


Hi Friends, My name is Priya,am new to this Forum. am looking for SAS Platform Administration Interview Questions.I searched every where but I couldn't find any where.please can anyone help me with the FAQ's. It would be a great favor to me if you can email the Interview Questions to priyafeb84@gmail.com

0 Answers  


Name validation tools used in SAS

0 Answers  


where are dashboard components are created and maintained? : Sas-bi

0 Answers  


Categories