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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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