what is the difference between informat$8. $char8.
Answers were Sorted based on User's Feedback
Answer / sas learner
The informat $8. is almost identical to the $CHAR8. informat. However, $CHARw. does not trim leading blanks nor does it convert a single period in an input field to a blank, while $w. does both.
This is from sas help document..
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / chandrakanth
I do not know whether you made a typo, I am explaining you question as is
informat$8.-SAS takes this as a character variable called informat with total length defined as 8
(If I assume, it is $informat8. (not informat$8.)in your question it is the general form of informats to represent a character informat, likewise a numeric informat represented as informatw.d and date as informatw. w being the width and d being the decimal places)
whereas
$char8. is one kind of informat for a character variable whose length is 8...
Please let me know if you are not satisfied with answer...will explain in detail...
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / sundeep
informat is as same as $char but we use informat in defining a type(character or date) and $char is used only for specifying character length
| Is This Answer Correct ? | 1 Yes | 0 No |
Name statements that function at both compile and execution time.
what is information maps?
how to delete the duplicates by using proc sql?
"What is the difference between proc sort nodup and proc sort nodupkey?"
i want for interview question & answer plz it need immediate send t my mail raviprakashmot@gmal.cm
do you prefer proc report or proc tabulate? Why? : Sas programming
how we can create optional or required parameters in SAS macro...
what is sas database server? : Sas-di
what is the different between functions and procs that calculate the same simple descriptive statistics? : Sas programming
What are the difference between ceil and floor functions in sas?
Describe 5 ways to do a “table lookup” in SAS?
How would you delete observations with duplicate keys?