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

Answers were Sorted based on User's Feedback



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

Answer / chiranjeevi

SAS functions can be used to convert data and manipulate
character variable values.
different types of functions:1)TRIM
2)SUBSTR
3)ABS
4)SCAN

TRIM:Removing the trailing blanks from character expressions.
syntax=trim(argument)
substr:extracts the substring from an argument
syntax=substr(argument,position<,n>)
abs=returns the absolute of the argument
syntax=abs(argument)

Is This Answer Correct ?    13 Yes 0 No

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

Answer / ravi

The most common functions that would be used are-
Conversion functions - Input / Put / int / ceil / floor
Character functions - Scan / substr / index / Left / trim / compress / cat / catx / upcase,lowcase
Arithmetic functions - Sum / abs /
Attribute info functions – Attrn / length
Dataset – open / close / exist
Directory - dexist / dopen / dclose / dcreate / dinfo
File functions – fexist / fopen/ filename / fileref
SQL functions – coalesce / count / sum/ mean
Date functions – date / today / datdif / datepart / datetime / intck / mdy
Array functions – dim

Is This Answer Correct ?    12 Yes 1 No

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

Answer / sheetal

trim
mean
today
intck
scan

Is This Answer Correct ?    10 Yes 1 No

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

Answer / 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

More SAS Interview Questions

If you set a label in the data step and call a proc freq on the data, how do you display the data without the labels and just the variables.

1 Answers  


How can you limit the variables written to output dataset in data step?

0 Answers  


explain the difference between alternate key, business key, foreign key, generated key, primary key, retained key and surrogate key ? : Sas-di

0 Answers  


Are you involved in writing the inferential analysis plan? Tables specfications?

0 Answers  


What are the ways to do a “table lookup” in sas?

0 Answers  


How can I remove header from output data set?

0 Answers  


Explain how you can debug and test your SAS program?

0 Answers  


Describe the function and utility of the most difficult SAS macro that you have written?

0 Answers   Oracle,


What are the Aggregate functions in SQL ?

2 Answers   AON,


if i having variables named a b c d e f ,how to find total of each variable ????give syntax...??

6 Answers   Accenture,


Hi,by usining ptf how we have to combine (likr merge)10 datasets at a time in the oracle database(and write a macro code also)?Like this i have a douts a lot if you dont mind may please send one text mail for me(madhusudhanap16@gmail.com)?

0 Answers  


DATA ABC; INPUT TDATE DATE9. AVG; CARDS; 18APR2008 150.00 19APR2008 167.00 20APR2008 123.00 21APR2008 145.00 ; RUN HOW CAN I FIND THE DIFFERENCE BETWEEN AVG OF 18APR2008 ANF 21APR2008?? IF ANY ONE GETS IT PLS TRY TO POST IT.

8 Answers   Verinon Technology Solutions,


Categories