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 / 3nadh

I think by using insert option in proc sql...

Is This Answer Correct ?    2 Yes 4 No

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

Answer / nishant

using dataline statement

Is This Answer Correct ?    0 Yes 2 No

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

Answer / sirisha

by using loop concept or by importing data frim external file.

Is This Answer Correct ?    0 Yes 3 No

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

Answer / varun gupta

I think we can use cards statement or DATALINE sts=atement
to have test data

Is This Answer Correct ?    0 Yes 5 No

Post New Answer

More SAS Interview Questions

What are the limitations for memory allocation for SAS variables

0 Answers   Signetsoft,


What is PDV?

0 Answers  


how can you improve the performance of a query, If it is excuting very slowly?

2 Answers   Zensar,


Hello, I have PROC SQLs results group by 3 fields and I use SUM and COUNT functions in SQL. The problem is when I try to display my result with PROC TABULATE. I am getting very big numbers. I believe I make a mistake some where in Tabulate. Here is my Proc Tabulate. PROC TABULATE DATA=OUT04_05 FORMAT=12.; CLASS YR CENTRE VISA / PRELOADFMT EXCLUSIVE; VAR NEWUSER FRAUD TRANSFER AUTUSER REISSUE; TABLE CENTRE ALL, (YR ALL)*VISA, (NEWUSER*F=COMMA12. AUTUSER*F=COMMA12. FRAUD*F=COMMA12. TRANSFER*F=COMMA12. REISSUE*F=COMMA12.) / MISSTEXT={LABEL='0'} PRINTMISS RTS=20; FORMAT VISA VISAFMT.; KEYLABEL SUM = ' ' ALL = 'TOTAL'; LABEL YR = 'DATE YEAR' NEWUSER = 'TOTAL NEW ACCT' TRANSFER = 'TOTAL TRANSFER' FRAUD = 'TOTAL FRAUD TRANSFER' AUTUSER = 'TOTAL AUTH USERS' REISSUE = 'TOTAL REISSUE'; When I code it like : NEWUSER*N*F=COMMA12. AUTUSER*N*F=COMMA12. I get same amount numbers but to find a NEWUSER I use COUNT(*) and to find AUTUSER I use SUM(xxxx) function so both result shouldn’t be the same my problem is in this point. Could you tell me where the problem in code is. How can I display my result? TX.

0 Answers  


what is the use of proc sql? : Sas programming

0 Answers  


HOW MANY WAYS YOU CAN RETRIEVE THE DATA FROM ORACLE TABLES? WHAT IS ORACLE CLINICAL? HOW IT IS USEFUL?

3 Answers   Accenture, Novartis,


How many missing values are available? When might you use them?

1 Answers   Quintiles,


how can u convert this 25-jul-2010 from numeric to charcter?

3 Answers  


what is option year cuttoff in sas

2 Answers   L&T,


How do dates work in SAS data?

0 Answers  


How to write duplicate records into a separate dataset using sort?

4 Answers   HSBC,


data abc; input x y ; cards; 1 2 5 6 7 8 7 8 1 7 5 7 ; run; Proc Freq data=abc; tables x*y / chisq nopercent nocol norow PLCORR; RUN; If we run the code, we have Polychoric Correlation = 0.9054 in the last table. I want to extract this particular entry with the value. Means I will create one dataset in which this value will be stored/extracted. I need your help in coding this. Please help me out.

2 Answers  


Categories