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 are the features of base sas system?
Of all your work, where have you been the most successful?
what is sas database server? : Sas-di
which date functions advances a date time or date/time value by a given interval? : Sas programming
how do the in= variables improve the capability of a merge? : Sas programming
What do the sas log messages “numeric values have been converted to character” mean? What are the implications?
why is sas considered self-documenting? : Sas programming
If a variable contains letters or special characters, can it be numeric data type?
What is the order of application for output data set options, input data set options and SAS statements?
Name some categories in sas 9? : sas-grid-administration
what are the scrubbing procedures in sas? : Sas programming
what are sas bi dashboard components? : Sas-bi
What is the general format of function in sas? : sas-grid-administration
how would you create a data set with 1 observation and 30 variables from a data set with 30 observations and 1 variable? : Sas programming
what is the difference between infile and input? : Sas-administrator