How would you remove a format that has been permanently
associated with a variable?
________________
Answer Posted / lakshmi
1. To remove formats permenantly then use this code in data
step,
data data2;
set data1;
format _all_; /* To remove format */
informat _all_; /* To remove informat */
run;
2. To remove formats permenantly then use this code in proc,
proc sort data=data1;
by subject;
format _all_;
run;
Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
what is factor analysis? : Sas-administrator
data data1; input dt account; format dt date9.; cards; 1745 1230 1756 1120 1788 1130 1767 1240 ; data data2; input startdt enddt total; format startdt date9. enddt date9.; cards; 1657 1834 12300 1557 1758 16800 1789 1789 12300 1788 1345 12383 1899 1899 13250 ; proc sql; create table data3 as select * from data1 as x left join data2 as y on x.dt>=y.startdt and x.dt<=y.enddt; quit; Here, we are getting cartision product. But,I want left join report consisting of this program. It should not get duplicate values. you can modify the program also.
What are the differences between proc means and proc summary?
what is metadata? : Sas-bi
Do you need to know if there are any missing values?
what does the run statement do? : Sas programming
Mention common programming errors committed in sas ?
hi tell be about pfizer? how to compare the work with other companies ? please tell me how to login and work also?
Explain the special input delimiters used in sas programming.
Are you involved in writing the inferential analysis plan? Tables specifications?
Mention the difference between ceil and floor functions in sas?
Explain proc univariate?
Describe the function and untility of the most difficult SAS macro that you have written.
What is PROC in SAS?
Mention what is PROC in SAS?