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 you read in the variables that you need?

Answers were Sorted based on User's Feedback



How do you read in the variables that you need?..

Answer / rajesh

If you need the required variables;
go for the condiation statments or input statment or keep
and drop options, and if it is in output then var statement
in the proc print.

Is This Answer Correct ?    3 Yes 0 No

How do you read in the variables that you need?..

Answer / vijai bhaskar

if u want u read particular variables in the data step by
using input statement

Is This Answer Correct ?    2 Yes 0 No

How do you read in the variables that you need?..

Answer / ram

if u read priticular variables in data by using keep and
drop statements

Is This Answer Correct ?    2 Yes 0 No

How do you read in the variables that you need?..

Answer / harsha

Using with Var statment we can read the required variable.

Is This Answer Correct ?    1 Yes 0 No

How do you read in the variables that you need?..

Answer / natraj

In data step and Proc step you can use the data set options
such as KEEP= / DROP= .

ex: data xxx (keep=a); or data xxx ( drop= b c);
run;
proc print data=xxx (keep=a) or ( drop= b c);
run;
you can use the VAR STATEMENT in PRINT PROCEDURE to list
the desired varibles;

ex: proc print data= xxx;
var a ; /* put your desired variables */
run;

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More SAS Interview Questions

HOW DO WE CREATE A SAS STORED PROCESS IN SAS EG ?

1 Answers   TCS,


what is a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming

0 Answers  


Difference between nodup and nodupkey options?

0 Answers  


data abc; input x y ; cards; 1 2 5 6 7 8 7 8 1 7 5 7 ; run; Proc Freq data=abc; tables x*y / chisq nopercent nocol norow PLCORR; RUN; If we run the code, we have Polychoric Correlation = 0.9054 in the last table. I want to extract this particular entry with the value. Means I will create one dataset in which this value will be stored/extracted. I need your help in coding this. Please help me out.

2 Answers  


How would you create a data set with 1 observation and 30 variables from a data set with 30 observations and 1 variable?

1 Answers   Quintiles,


Are the preferred term counts are always equal to Body system counts? If so, Why are they equal if not why they are not equal?

1 Answers   Icon,


explain the difference between proc means and proc summary?

0 Answers  


If reading a variable length file with fixed input, how would you prevent SAS from reading the next record if the last variable didn?t have a value?

6 Answers  


What does error:1 mean?

8 Answers   Accenture,


How many versions came upto now in SAS?

3 Answers   CTS, TCS,


do you prefer proc report or proc tabulate? Why? : Sas programming

0 Answers  


We have a string like this "kannafromsalembut" ,from this i want to get only "fromsal" (but one condition with out using substring function)here we can not use scan because in the given string there is no delimeter? so give ans without out using substring ?

5 Answers  


Categories