If reading a variable length file with fixed input, how
would you prevent SAS from reading the next record if the
last variable didn’t have a value?
Answers were Sorted based on User's Feedback
Answer / kumaraswamy maduri
Using MISSOVER or TRUNCOVER. TRUNCOVER is best because if
the last variable doesn't have value then it assigns
missing as just as missover one extra difference with
TRUNCOVER is, if you are using formatted input and the
width is more than the value still truncover reads the
available value but missover assigns a missing.
Eg: data t;
input num 3.;
cards;
1
12
121
;
run;
Check the above code using missover and truncover.
Is This Answer Correct ? | 8 Yes | 1 No |
Answer / nitin
By using stopover, missover is used to read next record
without stopping.
Is This Answer Correct ? | 6 Yes | 2 No |
where are dashboard components are created and maintained? : Sas-bi
code the tables statement for a single level frequency?
What is the difference between input and infile statement?
Can you use a macro within another macro? If so how would SAS know where the current acro ended and the new one began?
how can you get the single data set from the library(which has the number of data sets)?
3 Answers Accenture, Deloitte,
How to read multiple excel sheets from a single excel file at once????
7 Answers HCL, Verinon Technology Solutions,
How do you debug and test your SAS programs? What can you learn from the SAS log when debugging? How do you test for missing values? How would you create multiple observations from a single observation? What are some good SAS programming practices for processing very large data sets? Briefly describe 5 ways to do a "table lookup" in SAS. Why is SAS considered self-documenting? Are you sensitive to code walk-throughs, peer review, or QC review? What other SAS features do you use for error trapping and data validation? How does SAS handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, PROCs?
What are the new features included in the new version of SAS Programming Language?
Mention what is SAS data set?
For what purposes have you used sas macros? : sas-macro
hi tell be about pfizer? how to compare the work with other companies ? please tell me how to login and work also?
How are numeric and character missing values represented internally?