how can u import .csv file in to SAS?tell Syntax?

Answer Posted / dupe bassey

You can also use an
ods html file ='c:\user\new.xls';
proc print data=new;
run;
ods html close;

something along those lines

Is This Answer Correct ?    1 Yes 19 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between class statement and by statement in proc means?

896


What is the order of application for output data set options, input data set options and SAS statements?

1299


How do you specify the number of iterations and specific condition within a single do loop?

840


what are the softwares and applications that are used most frequently used by sas bi applications developers? : Sas-bi

771


Give some ways by which you can define the variables to produce the summary report (using proc report)?

833


How would you code a merge that will write the matches of both to one data set, the non-matches from the left-most data?

860


what is metadata? : Sas-bi

788


what is the use of sas management console? : Sas-di

813


what is change analysis in sas di ? : Sas-di

790


Explain data step in SAS

846


What is the work of tranwrd function?

952


what do the pad and dim functions do? : Sas programming

777


what is the basic structure sas administrator? : Sas-administrator

780


In sas, what are the areas that you are most interested in? : sas-grid-administration

833


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.

2000