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
What is the difference between class statement and by statement in proc means?
What is the order of application for output data set options, input data set options and SAS statements?
How do you specify the number of iterations and specific condition within a single do loop?
what are the softwares and applications that are used most frequently used by sas bi applications developers? : Sas-bi
Give some ways by which you can define the variables to produce the summary report (using proc report)?
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?
what is metadata? : Sas-bi
what is the use of sas management console? : Sas-di
what is change analysis in sas di ? : Sas-di
Explain data step in SAS
What is the work of tranwrd function?
what do the pad and dim functions do? : Sas programming
what is the basic structure sas administrator? : Sas-administrator
In sas, what are the areas that you are most interested in? : sas-grid-administration
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.