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

What do the SAS log messages "numeric values have been converted to character" mean?

0 Answers   Quintiles,


How do you add a number to a macro variable?

2 Answers  


Describe the ways in which you can create macro variables? : sas-macro

0 Answers  


What are SAS/ACCESS and SAS/CONNECT?

0 Answers  


What does the trace option do?

0 Answers  






Please, anyone, let me know the style or an example of using 'by='/'by' variable of a PDV(Program Data Vector)

3 Answers   Verinon Technology Solutions,


How to get any kind of data in SAS? Is it possible to take data from notepad in SAS?

7 Answers   GSK, TNS,


what is sas data set?

0 Answers  


Name any two sas spawners? : sas-grid-administration

0 Answers  


How we can create SAS USER DEFINED CODE?

0 Answers  


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

0 Answers  


how do you debug and test your sas programs? : Sas programming

0 Answers  


Categories