BookmarkSubscribeRSS Feed
SYN
Obsidian | Level 7 SYN
Obsidian | Level 7

SAS DI Studio .CSV file?


I have one external .CSV file. it is in SAS main server.
How can I bring this .CSV file into DI studio job and create target table.

Can any one Please provide me the process flow for this. Thanks in advance

Sreenivasa
3 REPLIES 3
shivas
Pyrite | Level 9

Hi Syn,

From source designer->externalfiles->browse for the file location.

once source is created from target designer you can create target(eg shows for sas di 3.4)

Thanks,

Shiva

CSV.PNG

SYN
Obsidian | Level 7 SYN
Obsidian | Level 7

Thank you Shiva.

My question here is I want to use the external file directly from server to job Like File reader transformation.

Is it possible?

Other wise, I need to create external file beofre it self then only I have to use in job - File reader transformation?

Please clarify.

Sreenivasa
shivas
Pyrite | Level 9

Hi Syn,

If I understand you correctly,Second one pretty simple and easy to do(check the image)

For the first option(not tested) but you can try creating an odbc server or excel server in SASMC and then try to register the external data and then you can directly read using file reader.

CSV.PNG

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

How to connect to databases in SAS Viya

Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 3467 views
  • 0 likes
  • 2 in conversation