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
I am preparing SAS Certified Advanced Programmer for SAS 9 in 2014. If anybody has the latest dumps for this exam, please mail me at dhiman.mukherjee@gmail.com
what are some good sas programming practices for processing very large data sets? : Sas programming
Mention what is SAS data set?
explain the difference between alternate key, business key, foreign key, generated key, primary key, retained key and surrogate key ? : Sas-di
how to create the AE dataset by using SDTMIG specifications and SAP plan by using UNIX platform?
Can you execute macro within another macro? If so, how would sas know where the current macro ended and the new one began? : sas-macro
Explain substr function?
What does PROC print, and PROC contents do?
How do you test for missing values?
Explain the use of proc gplot? : sas-grid-administration
How to specify variables to be processed by the freq procedure?
what is data access? : Sas-di
What is SAS informats?
how to read the variables in sas? : Sas-administrator
Which function is used to count the number of intervals between two sas dates?