how do i read multiple spaces in datasets?
eg: vijaya raghava perumal.I tried with using & but it
workss if its vijaya raghava but not for raghava
perumal.how to do this?
Answer Posted / dilip
use & and width.
data k;
input s &$22. t $;
cards;
vijaya ragava perumal raj
mohan raj krishna sharma
;
proc print;
run;
| Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
what is the difference between infile and input? : Sas-administrator
What are the different servers in sas? : sas-grid-administration
What would be the value of month at the end of data step execution and how many observations would be there?
Difference between informat and format?
explain the concepts and capabilities of business object? : Sas-bi
what do the sas log messages "numeric values have been converted to character" mean? : Sas programming
How would you identify a macro variable?
what is the basic structure sas administrator? : Sas-administrator
how would you determine the number of missing or nonmissing values in computations? : Sas programming
Enlist the syntax rules followed in sas statements.
How are numeric and character missing values represented internally?
Name and describe few sas character functions that are used for data cleaning in brief.
How would you define the end of a macro? : sas-macro
Do you need to rearrange the order of the data for the report?
What does P-value signify about the statistical data?