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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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
  • 3036 views
  • 0 likes
  • 2 in conversation