What are _numeric_ and _character_ and what do they do?



What are _numeric_ and _character_ and what do they do?..

Answer / viditmalhotra89

_numeric_ & _character_ are mostly used in:
1. Defining arrays: if an array is defined as _numeric_ that means it expects all values stored in it to be numeric ONLY! And if we define array as _character_ it expects only character values to be stored within it

2. With proc print, if we use these, it prints only numeric or only character variables of the data set!

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SAS Interview Questions

explain about data integrator metadata reports? : Sas-di

0 Answers  


If you have a data set that contains 100 variables, but you need only five of those, what is the code to force SAS to use only those variable?

16 Answers  


it will become easy if uuu provide website linkssss and list of consultanciessssss

0 Answers  


what is the difference between floor and ceil functions in sas? : Sas-administrator

0 Answers  


how do u test a pros sql(works or not) without executing it?

1 Answers   DELL, HSBC,


I have a dataset concat having a variable a b & c. How to rename a b to e & f?

0 Answers  


Do we follow ADAM in analysis dataset development?How? Usually which version? Why is it necessary?

0 Answers  


How necessary is it to be creative in your work?

0 Answers   Oracle,


Can you calculate the mean, median and mode of the following data set using data step logic? Don't use any function or procedure. data a; input age @@; datalines; 22 32 32 32 43 23 24 56 45 54 28 29 27 26 25 28 30 20 18 37 36 47 46 56 19 20 ; run; I have calculated the mean which i have posted in the answer section.

6 Answers   HSBC,


what are all the ways to define macro variable??

2 Answers   GSK GlaxoSmithKline,


What was the last computer book you purchased? Why?

0 Answers   Oracle,


What is Tabulate.?Why we use it.? Which type of output we get from Tabulate.?

3 Answers   TCS,


Categories