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

Hi... this is chandu, did MSc Microbiology, trying to get job in SAS tool, PLZ Tell me whether IT industries will give consider my education to gain a job....?

2 Answers  


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

0 Answers  


if you were told to create many records from one record, show how you would do this using array and with proc transpose? : Sas programming

0 Answers  


Briefly explain input and put function?

0 Answers  


here is a string like chq.2312244%4452- from that i want only special characters in a column. dont use compress. bcoz i have 1.2 billion of records.i want another process to find the values instant from the data.

2 Answers   Cap Gemini, L&T,


What are the data types in sas?

0 Answers  


how to generate means for every subject;

4 Answers   Mind Tree,


what is scheduling and how will u implement it. In scheduling 5 jobs r running if there is an error occured at 3rd job and how will u check and waht necessary steps will u take not to repeat the same mistake

0 Answers   Blue Star,


What is the difference between match merge and one to one merge?

0 Answers  


what are the new features included in the new version of SAS i.e., SAS9.1.3?

5 Answers   College School Exams Tests, Wockhardt,


Given an unsorted data set, how to read the last observation to a new data set?

0 Answers  


Describe 5 ways to do a “table lookup” in SAS?

0 Answers  


Categories