Explain the difference between informat and format with an example.
Answer / Avanish Shukla
Informats are used to convert character data into SAS formats before it is stored in a data set. Formats are used to control how SAS displays numeric and date values. For example, if you have a date variable 'date' and want to display it in the MM/DD/YYYY format, you would use a format like: format date mmddyy10.nInformat: informat date date9.;
| Is This Answer Correct ? | 0 Yes | 0 No |
what is _error_?
2 Answers Axis Bank, Cognizant, JPMorgan Chase,
What are the automatic variables for macro? : sas-macro
What is the difference between %put and symbolgen? : sas-macro
what is in stream data in SAS?
what are the validation tools in sas?
Mention what is the difference between nodupkey and nodup options?
what is intially documentation in sas?
Which is the best training Institute for SAS Business Intelligence course?
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
Approximately what date is represented by the SAS date value of 730?
how would you create a data set with 1 observation and 30 variables from a data set with 30 observations and 1 variable? : Sas programming
Why and when do you use proc sql?