If you have a dataset that contains 100 variables, but you need only five of those, what is the code to force SAS to use only those variables?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More SAS Interview Questions

What is program data vector (pdv)?

0 Answers  


What is connection profile? : sas-grid-administration

0 Answers  


What is the maximum length of the macro variable?

0 Answers  


How do i read multiple spaces in datasets?

4 Answers   Quintiles,


hi i am nipun can anybody tell me that if a clinical sas programmer write the code and after successfull execution where do they store it. how they submit tables to TL how work is assigned to programmers either both code, log, output to be submitted. can any one tell me the process

2 Answers   HSBC,






what is program data vector? : Sas-administrator

0 Answers  


How would you code a merge that will write the matches of both to one data set, the non-matches from the left-most data set to a second data set, and the non-matches of the right-most data set to a third data set.

10 Answers   Accenture,


How do you control the number of observations and/or variables read or written?

0 Answers  


What is data _null_?

0 Answers  


how to generate report for 0 observation dataset?

3 Answers   Mind Tree, Student,


i have multiple .csv files in a unix directory. every file is having variable names as header.even for empty file also. suppose take 3 files a.csv b.csv c.csv a.csv contains data as name;age,salary; raja;34;4000; ravi;33;5000; kumar;25;3000; b.csv contains data as name;age,salary; ajay;40;4500; and c.csv contains name;age,salary; (only headers) Now i want to import and append all these files in to a single dataset. i tried infile statement with *.csv to import all at a time. but i m not getting correct data. please help me . its urgent. thank you in advance

2 Answers   Tech Mahindra,


how to handle in stream data containing semicolon in it?

3 Answers  


Categories