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

I have one requirement in SAS Data Integration 3.4 Job.

I have some files with prefix XXX_* in SFT mailbox server.

My requirement is to bring these files to unix server using Data Integration 3.4 Job.

Can any one provide me the user written code for this task. Thank you.

Sreenivasa
3 REPLIES 3
LinusH
Tourmaline | Level 20

Well, this is not quite the place when you can "order" code.

having that said, you need to clarify a few things:

  • What is SFT, and what kind of API_s is available?
  • What kind of file are we talking about (mail, attacments, internal mail server)?
  • Are these file to be imported to SAS/RDBMS tables? If not, you are probably better off using other tool than DIS.
Data never sleeps
SYN
Obsidian | Level 7 SYN
Obsidian | Level 7

Yes you are correct.

I am not expecting exact code for this task. Just I need suggestion to bring the files.

SFT means Secure FTP server. It is a internal mailbox server having input/output/sent items.

We need to pickup the files from outbox and put it in unix server. Please suggest.

Sreenivasa
LinusH
Tourmaline | Level 20

Again, if your not planning to import them to SAS tables, I think you're better of doing this using shell scripting.

There is a SFTP access method for the FILENAME statement, but I think that came with 9.2 (and you are in 9.1.3 i believe).

Data never sleeps

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