Yup.
A format determines how a value is displayed.
An Informat determines how a value is read.
IE, if you are reading a text file which contains dates, you'll need to tell SAS what format these dates are in so it knows how to treat it, so you use the DDMMYY10 INformat. SAS then reads that in and converts it to a SAS date (count of days since 01/01/1960). When you want to display that, you can't just write that out as it'll just be a large number. In order to be human readable, you need to use the DDMMYY10. format. In this case the format and informat have the same name, which makes it easy to use, but a little confusing if you're trying to understand what the difference is.
Also, INFORMATs can be used with the INPUT() function, and FORMAT with the PUT() function.
Chris
Business Analyst, Code Monkey, Data Wrangler.
SAS Guru.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.