SAS Data Integration Studio, DataFlux Data Management Studio, SAS/ACCESS, SAS Data Loader for Hadoop and others

to extract particular data

Frequent Contributor
Posts: 89

to extract particular data

i have a textfile with 100gb data in that i have company names genpact tcs records there how can i import only tcs record in to my dataset?ular

Super User
Posts: 5,852

Re: to extract particular data

Posted in reply to venkatnaveen

We need quite some more info to help you out.

  • You wish to subset on company name, and keep Genpact and TCS?
  • What format is the file?
  • What do you intend to do with the subset afterwards?

If it's in a standard file layout, take a look at PROC IMPORT.

Use a data step or SQL to subset your data.

If you are preparing a scheduled job, you might want to consider other options to optimize it.

Data never sleeps
Respected Advisor
Posts: 4,693

Re: to extract particular data

Posted in reply to venkatnaveen

You need to give us some representative sample data and then tell us how the result should look like.

Is this using SAS DI Studio (which version?) or coding?

With coding it could look like below pseudo code:


input var @;

if var ne 'certain value' then return;

input b c d;




Frequent Contributor
Posts: 89

Re: to extract particular data


Ask a Question
Discussion stats
  • 3 replies
  • 3 in conversation