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


Please Help Members By Posting Answers For Below Questions

what is factor analysis? : Sas-administrator

809


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.

2017


What are the differences between proc means and proc summary?

798


what is metadata? : Sas-bi

786


Do you need to know if there are any missing values?

794


what does the run statement do? : Sas programming

771


Mention common programming errors committed in sas ?

831


hi tell be about pfizer? how to compare the work with other companies ? please tell me how to login and work also?

1838


Explain the special input delimiters used in sas programming.

761


Are you involved in writing the inferential analysis plan? Tables specifications?

3693


Mention the difference between ceil and floor functions in sas?

892


Explain proc univariate?

786


Describe the function and untility of the most difficult SAS macro that you have written.

1830


What is PROC in SAS?

802


Mention what is PROC in SAS?

813