
of the variables later labels all that kind of info inside the dataset and you can look at that info using proc contents procedure. Following the data step then you can avoid the usage of the run statement.Ī) SAS is considered self documenting because during the compilation time it creates and stores all the information about the data set like the time and date of the data set creation later No. Identify statements whose placement in the DATA step is critical.ĭoes SAS 'Translate' (compile) or does it 'Interpret'? Explain.Ī) When SAS editor looks at Run it starts compiling the data or proc step, if you have more than one data step or proc step or if you have a proc step. How do you control the number of observations and/or variables read or written?Īpproximately what date is represented by the SAS date value of 730? Why is a STOP statement needed for the POINT= option on a SET statement?Ī) Because POINT= reads only the specified observations, SAS cannot detect an end-of-file condition as it would if the file were being read sequentially. What do the SAS log messages "numeric values have been converted to character" mean? What are the implications?Ī) It implies that automatic conversion took place to make character functions possible. What's the difference between VAR A1 - A4 and VAR A1 - A4? What is the effect of the OPTIONS statement ERRORS=1?Ī) The –ERROR- variable ha a value of 1 if there is an error in the data for that observation and 0 if it is not. What is the one statement to set the criteria of data that can be coded in any step?

Under what circumstances would you code a SELECT construct instead of IF statements?Ī: I think Select statement is used when you are using one condition to compare with several conditions like…….
