What is the difference between an informat and a format?
Name three informats or formats.
Answers were Sorted based on User's Feedback
Answer / ramesh babu
Informats are instractions which help to SAS to read
datavalues (Non Standard values) into variables (Standard
values)
Eg: $upcaseW.
commaW.d
dateW.
Formats are instractions which help to SAS to write Standard
values into Non Standard values.
Eg: $upcaseW.
commaW.d
dateW.
| Is This Answer Correct ? | 2 Yes | 5 No |
Answer / 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 |
Answer / harish
formates ,informates r comma.,percentage,date.these 3 r
differant types formates&informates.
formates is used for reading of data
informates is used for the printing of data.
| Is This Answer Correct ? | 1 Yes | 23 No |
how to assign a macro value to a variable?
how can u extract,transform and loading?
6) Explain about below automatic variables a) _N_ b) _ERROR_ c) _CHAR_ d) _NUMERIC_ e) _ALL_ f) FIRST.BY VARIABLE g) LAST.BY VARIABLE h) _NAME_ i) _TYPE_ j) _FREQ_ k) _STAT_ l) _BREAK
data study; input Subj : $3. Group : $1. Dose : $4. Weight : $8. Subgroup; x= input(Weight,5.1); datalines; 001 A Low 220 2 002 A High 90 1 003 B Low 193.6 1 004 B High 165 2 005 A Low 123.4 1 ; Why does X get truncated? X shows up as 22 instead of 220,9 instead of 90 and 19.8 instead of 198? This problem doesnt happen with the values 193.6 and 123.4. This does not happen if x is read on the 5. informat instead of the 5.1 informat
What are the best sas programming practices for handling very large datasets? : sas-grid-administration
what has been your most common programming mistake? : Sas programming
In SAS explain which statement does not perform automatic conversions in comparisons?
What does PROC print, and PROC contents do?
Compare sas with other data analytics tools.
what are several options for creating reports in web report studio? : Sas-bi
Explain the main difference between the sas procedures and functions? : Sas-administrator
How are numeric and character missing values represented internally?