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 do the put and input function do?

581


How do you delete duplicate observations in sas?

564


What are the data types in sas?

598


What are the table names in oracle database...?

2245


For what purposes have you used sas macros? : sas-macro

534






What is interleaving in SAS?

661


what is the one statement to set the criteria of data that can be coded in any step? : Sas programming

645


What is run-group processing?

614


What are common programming errors committed in sas

664


what is sas business intelligence? : Sas-bi

582


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

592


How will you use the WHO Drug Dictionary for Reporting Clinical Trials?

1873


How to convert a numeric variable to a character variable?

624


What is the role of unrestrictive users? : sas-grid-administration

567


Enlist the functions performed by sas.

669