Question-86: What is the difference between sum function and + operator?

Answer: In case of SUM function it would do the summation for all non-missing values while with the “+” operator, if there is any missing value then it would generate missing value as a final output.

 

Question-87: What is the difference between PROC MEANS and PROC SUMMARY?

Answer: Both PROC SUMMARY and PROC MEANS produces the exactly same output dataset the difference between these two procedures is that PROC MEANS produces a report by default while PROC SUMMARY produces an output dataset by default. Hence, if you want to report printed to the listing use the PROC MEANS and if you want that info to be passed to a dataset for further then use proc summary.

 

Question-88:  When SAS can not convert numerical value from character value automatically?

Answer: When it has a non-numeric value like $ sign, for that you have to use informat.

 

Question-89: What all are the main components of the SAS programming?

Answer: There are two major steps DATA and PROC steps which you use in SAS programming and third component is a variable.

 

Question-90: What is PDV?

Answer:  It is a sort form of Program Data Vector; we have already covered detail about this.