Explain the difference between informat and format with an example.



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

Post New Answer

More SAS Interview Questions

what is _error_?

2 Answers   Axis Bank, Cognizant, JPMorgan Chase,


What are the automatic variables for macro? : sas-macro

1 Answers  


What is the difference between %put and symbolgen? : sas-macro

1 Answers  


what is in stream data in SAS?

1 Answers  


what are the validation tools in sas?

3 Answers   TCS,


Mention what is the difference between nodupkey and nodup options?

1 Answers  


what is intially documentation in sas?

2 Answers   Accenture,


Which is the best training Institute for SAS Business Intelligence course?

6 Answers  


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

1 Answers  


Approximately what date is represented by the SAS date value of 730?

1 Answers  


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

1 Answers  


Why and when do you use proc sql?

1 Answers  


Categories