Hello,
I am trying to get list of files from Linux directory using psftp. SAS is installed on Windows
SysCmd = "C:\path\psftp.exe" myuser@server -P port -pw mypassword -b C:\path\bag.bat -v >C:\path\bag.log;
Everything works fine until the "-v >C:\path\bag.log" part. I am unsure how to generate a log file for this operation.
I will be grateful for a response 🙂
Hello
What are the commands in the batch file bag.bat ?
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Select SAS Training centers are offering in-person courses. View upcoming courses for: