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

What do you know about sas and what we do? : sas-grid-administration

603


How to read an input file in sas?

656


Do we follow ADAM in analysis dataset development?How? Usually which version? Why is it necessary?

1915


How does SAS handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, PROCs?

1099


Hello Friends, am new to this forum and am not good at sas progarmming. please can any one of you send me couple of sample large sample SAS Jobs which can you use 200 MB of data and other sas job upto 25GB of data. am doing a performance testing on our legacy systems and new upgraded system. I would really appreciate if you can do me this favor Thank you Priya

1350






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

1775


What is the basic structure of a sas program?

600


What are the ways in which macro variables can be created in sas programming?

569


What are the differences between proc means and proc summary?

602


How does the internal authentication work in sas? : sas-grid-administration

584


Why and when do you use proc sql?

762


why is sas considered self-documenting? : Sas programming

682


Differentiate input and infile.

596


what can you learn from the sas log when debugging? : Sas programming

610


What are SAS/ACCESS and SAS/CONNECT?

634