What is the difference between informat and format statement?
Answer Posted / ankit singh
Formats tells sas how to write the data to the output dataset and converts numeric to character value.
e.g. data out;
x=0;
format x date9.;
run;
Informats directs SAS to how to read the data from the source and converts charater to numeric value.;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is intially documentation in sas?
What is the maximum length of the macro variable? : sas-macro
Which are the statements whose placement in the data step is critical?
what is the difference between floor and ceil functions in sas? : Sas-administrator
What are common programming errors committed in sas
explain about data integrator metadata reports? : Sas-di
how does sas handle missing values in formats? : Sas programming
what are the best practices to process the large data sets in sas programming? : Sas-administrator
What are the special input delimiters used in SAS?
if a variable contain dates like "2015/01"---"2015/12" (yymm) ,How to add day to those dates,if them month is jan then 31 if the month is feb then 28 so on ...
What function CATX syntax does?
Describe a time when you were really stuck on a problem and how you solved it?
for what purpose would you use the retain statement? : Sas programming
in the flow of data step processing, what is the first action in a typical data step? : Sas programming
describe about metadata object? : Sas-di