What is the difference between an informat and a format?
Name three informats or formats.
Answer Posted / chiranjeevi
Informat:
1)It should appear only datastep.
2)it is used for SAS special instructions to read the
special data values.it can be used either in the input
statements,else by using a separate statement called 'informat'.
syntax:informat<variable name>>type of informat>
or
input<variable name><type of informat>
format:
1)it should appear only proc step.
2)it is used to write or print the special data values in
the output window.
syntax:format<variable name><type of format>.
informats:1)date formats
a)datew.
b)ddmmyyw.
c)commaw.
d)percent(%)
formats and informats both are same only.
| Is This Answer Correct ? | 2 Yes | 10 No |
Post New Answer View All Answers
What is the basic structure of a sas program?
Explain what is SAS informats?
what is a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming
Explain bmdp procedure?
What are the special input delimiters used in SAS?
Explain the difference between informat and format with an example.
How we can create SAS USER DEFINED CODE?
Can you execute macro within another macro? : sas-macro
Mention sas system options to debug sas macros.
Explain the purpose of retain statement.
explain what is factor analysis? : Sas-administrator
Why double trailing @@ is used in input statement?
What are the data types in sas?
If a variable contains only numbers, can it be a character data type?
What’s the difference between var b1 – b3 and var b1 — b3?