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 / basha

data kk;
input name &$24. name1 $12.;
name3=name||name1;
datalines;
mega star chiranjeevi
;
run;

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe a time when you were really stuck on a problem and how you solved it?

2086


What are the applications primarily used by business analyst? : Sas-bi

552


What is the purpose of trailing @ and @@? How do you use them?

613


How would you code a macro statement to produce information on the sas log? This statement can be coded anywhere? : sas-macro

583


Explain what is SAS informats?

623






For what purpose would you use the RETAIN statement?

1045


What are common programming errors committed in sas

674


What are types of transport files?

6864


Name types of category in which SAS Informats are placed?

736


what are _numeric_ and _character_ and what do they do? : Sas programming

676


How do you control the number of observations and/or variables read or written?

749


where are dashboard components are created and maintained? : Sas-bi

568


Describe what are the different levels of administrative users in sas? : sas-grid-administration

604


What is connection profile? : sas-grid-administration

650


what is a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming

572