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

using period style input will read ur multiple spaces.

Eg :
Data chandu ;
input name $ 1-22. ;
datalines ;
vijaya raghava perumal
run ;

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

For what purpose would you use the RETAIN statement?

1034


What is data _null_?

685


What do you know about symput and symget?

717


what is sas metadata repository? : Sas-bi

588


explain the difference between alternate key, business key, foreign key, generated key, primary key, retained key and surrogate key ? : Sas-di

537






What is the use of %include statement?

613


how to do user inputs and command line arguments in sas?

2419


what is the difference between unique key and primary key? : Sas-di

584


please can you tell me that in companies sas work are doing by through sas coding or sas wizard ??

1658


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

1761


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

551


How can I remove header from output data set?

2055


what is snowflake schema? : Sas-di

683


What are symget and symput? : sas-macro

720


What do the put and input function do?

581