They will come in three forms. Text files, csv files, and python scripts.
@msalam92 wrote:
They will come in three forms. Text files, csv files, and python scripts.
None of those are SAS datasets, so you won't use the libname statement for this.
What will be used instead? FILNAME?
@msalam92 wrote:
What will be used instead? FILNAME?
Text files are read with infile and input statement, and you can either use filename sftp for creating a file reference to the remote file, which you later use in an infile, or infile sftp.
Thanks again Kurt.
I assume all the connection details and user name/password will be included in this block of code.
The user name/password will be of the one I am trying to connect to.
For the third time: you do NOT use a password with sftp connections, you have to set up passwordless authentication first!
You use ssh-keygen to create a public/private keypair, put the public key into the authorized_keys file on the target server, and the private key where your local client will pick it up.
The whole process is described here: https://www.ssh.com/ssh/keygen/. I recommend to not use a passphrase.
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.
Find more tutorials on the SAS Users YouTube channel.