Name and describe three SAS functions that you have used, if
any?

Answer Posted / ashok kore

1.Compress is one of the sas function which is used to
remove spaces in string value and concatenate two values
with out spaces.

2.Input is another function of sas, it is one of conversion
function in sas. It converts numeric into char.

3.Put is another conversion function in sas. It converts
char to numeric.

Is This Answer Correct ?    7 Yes 19 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If you could design your ideal job, what would it look like?

2479


What are pdv and it functions?

681


: and & modifiers.

958


Do you know the features of sas?

695


If a variable contains only numbers, can it be a character data type?

725






How do you control the number of observations and/or variables read or written?

856


name some data transformation used in sas di? : Sas-di

638


For what purposes have you used sas macros? : sas-macro

611


What are the five ways to do a table lookup in sas? : sas-grid-administration

690


What are the data types that sas contain?

769


Mention few capabilities of sas framework.

799


What is PROC in SAS?

707


How can I remove header from output data set?

2201


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.

1875


Describe a time when you were really stuck on a problem and how you solved it?

2287