how to read the variables in sas? : Sas-administrator
No Answer is Posted For this Question
Be the First to Post Answer
How would you delete observations with duplicate keys?
If a variable contains only numbers, can it be a character data type?
How to read an input file in sas?
What is difference between (a-z) and (a--z)
In this question, I rename the numeric variable phone to numphone and then try use phone=put(numphone,comma16.) to store the numeric value numphone as a string value in phone. But I get a warning tha numphone already exists and in the data sat phone doesnt exist and numphone is set to missing. Why? data names_and_more; input Name $20. Phone : comma16. Height & $10. Mixed & $8.; Name = tranwrd(Name,' ',' '); rename phone = numphone; phone = put(numphone,comma16.); datalines; Roger Cody 9,087,821,234 5ft. 10in. 50 1/8 Thomas Jefferson 3,158,488,484 6ft. 1in. 23 1/2 Marco Polo 8,001,234,567 5Ft. 6in. 40 Brian Watson 5,183,551,766 5ft. 10in 89 3/4 Michael DeMarco 4,452,322,233 6ft. 76 1/3 ;
/* To determine the maximum and minimum of V1 */ data before3; input v1 v2 v3; cards; 3 2 1 4 6 5 2 1 3 6 5 4 1 3 2 5 4 6 ; run;
How does Mr.Lanka Srinivas teach SAS? Are his accomplishments real? What are the future prospects for SAS?
What are the automatic variables for macro? : sas-macro
What would be the value of month at the end of data step execution and how many observations would be there?
how would you create multiple observations from a single observation? : Sas programming
Describe how you would pass data to macro.
explain the key concept of sas? : Sas-administrator