Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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?

Answers were Sorted based on User's Feedback



how do i read multiple spaces in datasets? eg: vijaya raghava perumal.I tried with using & but ..

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

how do i read multiple spaces in datasets? eg: vijaya raghava perumal.I tried with using & but ..

Answer / basha

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

Is This Answer Correct ?    2 Yes 0 No

how do i read multiple spaces in datasets? eg: vijaya raghava perumal.I tried with using & but ..

Answer / chandu

We cant create SAS Dataset name with Spaces. Spaces wont be
allowed in the SAS naming convention.

If Raw data is having Spaces, we need to use Period Input
Style.

Other-wise please give some information for this question
to understand well.

Is This Answer Correct ?    1 Yes 0 No

how do i read multiple spaces in datasets? eg: vijaya raghava perumal.I tried with using & but ..

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

how do i read multiple spaces in datasets? eg: vijaya raghava perumal.I tried with using & but ..

Answer / sas programmer

HI ALL, IM UR FRIEND , PLEASE READ THE QUESTION ONCE

THE GUEST ASKED THE QUESTION IS
HOW DO I READ MULTIPLE SPACES IN DATASETS NOT IN DATA.

Is This Answer Correct ?    0 Yes 0 No

how do i read multiple spaces in datasets? eg: vijaya raghava perumal.I tried with using & but ..

Answer / x

create the dataset using option missing the variable which
requied & output it.

Is This Answer Correct ?    0 Yes 0 No

how do i read multiple spaces in datasets? eg: vijaya raghava perumal.I tried with using & but ..

Answer / nani

Whenever SAS encounters a period after a macro variable
reference, the period is treated as a way to end the macro
variable and then the period is thrown away.

Is This Answer Correct ?    0 Yes 6 No

how do i read multiple spaces in datasets? eg: vijaya raghava perumal.I tried with using & but ..

Answer / t

yes, we can!!!!!

see BASE SAS BOOK.

Is This Answer Correct ?    0 Yes 6 No

Post New Answer

More SAS Interview Questions

what is sas data set?

0 Answers  


Which is the best training institute for SAS in Delhi. Please reply

12 Answers   HCL, HSBC,


what is the difference between the SAS v8 and SAS v9?

7 Answers   TCS,


What do you feel about hardcoding?

4 Answers   Oracle,


What are the differences between proc means and proc summary?

0 Answers  


is QUALCOMM using SAS ?

1 Answers  


What are the main differences between sas versions 8.2, 9.0, 9.1?

4 Answers  


What is the use of function Proc summary?

0 Answers  


what are the categories that sas informats are used to the place the data? : Sas-administrator

0 Answers  


explain the concepts and capabilities of business object? : Sas-bi

0 Answers  


Which is the best training institute for SAS in hyderabad.

112 Answers   Stansys Software Solutions,


What is the difference between input and infile statement?

0 Answers  


Categories