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 |
how does sas handle missing values in an update? : Sas programming
What is the Program Data Vector (PDV)? What are its functions?
Below is the table. Required to be output should be the highest number of each student_id. Example. Student_id Subject Marks 1 Hindi 86 2 Hindi 70 3 English 80 . Calculate sum and average marks for each group of student_id Example. Student_id Subject Marks Total Marks Average 1 English 40 181 60.33333 2 English 67 196 65.33333 3 English 80 160 53.33333 PLEASE PROVIDE THE CODE OF ABOVE PROBLEMS
How the Excel file enter into the SAS environment without Code of Infile & Import procs,if i have no file Conversion?
what do the pad and dim functions do? : Sas programming
how to import XTP files into SAS datasets?
1 Answers Barclays, Institute For Plasma Research,
Describe how you would pass data to macro.
How would you code a merge that will write the matches of both to one data set, the non-matches from the left-most data?
Mention what is the difference between nodupkey and nodup options?
What are the 3 components in sas programming?
how do we mail reports from SAS environment to our team leader
Why do we use QUIT commmand for proc datasets and proc sql ???