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 are the best practices to process the large data sets in sas programming? : Sas-administrator
what is intially documentation in sas?
Difference between SAS STATA & SPSS?
what is the use of proc contents and proc print in sas? : Sas-administrator
What is a pdv and what are its functions?
what are the component of range? : Sas-bi
I have a SCD Type 2 Dimention for Location In which A Sales Office in Having two Surrogate Keys just because of the change in it's Sales Group. SKey SalesGroup Sales Office BeginDate EndDate 280 SG1 SO1 01APR2000 01APR2010 281 SG2 SO1 02APR2010 31MAR2999 Now while loading the Fact, the Lookup ir returning SKey 280 for records before and after 01APR2010. I am not able to give WHERE condition in the Lookup Properties (TranDate between BeginDate and EndDate). Please help.
Tell me more about the parameters in macro? : sas-macro
do you prefer proc report or proc tabulate? Why? : Sas programming
Name types of category in which SAS Informats are placed?
What are the functions used for character handling?
What does proc print, and proc contents are used for?
what is snowflake schema? : Sas-di
What are the parameters of scan function?
how will you locate the sas platform applications? : Sas-bi