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


Please Help Members By Posting Answers For Below Questions

what are 5 ways to perform a table lookup in sas? : Sas-administrator

766


Can you execute a macro within a macro? Describe. : sas-macro

674


What is a method to debug and test your SAS program?

721


What is the difference between the proc sql and data step?

663


What would be the result of the following SAS function (given that 31 Dec, 2000 is Sunday)?

680






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

568


what are the softwares and applications that are used most frequently used by sas bi applications developers? : Sas-bi

554


Tell e how how dealt with..

1773


How do you convert basic cube to transaction cube and transaction cube to basic cube?

1775


what is function of retain statment

1522


How you are maintaining sas programmes in your company...any specific version control software you are using? If so, tell me the name?

1583


what is treatment emergent events and treatment emregent adverse event

1943


In sas admin differentiate between roles and capabilities? : sas-grid-administration

557


Differentiate between proc means and proc summary.

604


Explain input and put function?

647