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 are all the ways to define macro variable??

2 Answers   GSK GlaxoSmithKline,


Explain the message 'Merge has one or more datasets with repeats of by variables'.

5 Answers  


Can anyone help to find a statement to get all the predefined formats?

3 Answers   Verinon Technology Solutions,


what are system option ? give few examples ? what are dataset options and dataset statements ? if there is a keep option and keep statement ? which one is executed first ? Difference between a WHERE statement and IF statement ? what is the advantage of using WHERE statement option on the dataset ?

1 Answers   Satyam,


Can you use a macro within another macro? If so how would SAS know where the current acro ended and the new one began?

1 Answers  






Which command is used to perform sorting in sas program?

0 Answers  


Hi, I need to create a SAS Map of USA using SAS Graphs(Proc Gmap).The data i have dosent contain any co-ordinates of USA cities or counties or states, and the zip codes are diffrent in the data i have from the zip code in the Maps.US dataset in the Maps Library for SAS MAPS. the data i have is a sales report. i have to generate the maps according to the states,cities aligned in the sales data, HELP Appriciated

1 Answers  


How experienced are you with customized reporting and use of Data _Null_ features?

4 Answers   Oracle,


how do you read binary data in sas?

3 Answers   Satyam,


Do we follow ADAM in analysis dataset development?How? Usually which version? Why is it necessary?

0 Answers  


Does anybody has SAS Platform Administration certification dumps. pls send to hariithepalli@gmail.com

0 Answers  


What r all the reporting procedures...?

3 Answers  


Categories