Hello,
System: 9.4 on Windows
Has anybody managed to use SAS to work with Stunnel?
I am trying to "convert" the sh script below to run from SAS so that I can transfer files using the stunnel. The stunnel is already set up and the sh script below is working.
Can you use the X or XCMD statements in your current configuration? That allows passing commands to the operating system just like typing them on a command line.
Your configuration may have XCMD disabled though.
There is also CALL SYSTEM routine that can call system commands from a data step.
Hi,
Thank you so much for your answer.
I know I can use the x cmd which would probably work ok in the dev environment but in prod environment x cmd are disabled. This is the reason why I tried filename ftp and socket.
Thank you,
Mada1
Often the CALL SYSTEM or SYSTEM statements aren't disabled when XCMD is.
I haven't a clue about stunnel or any of that side, just trying the fixes with basic SAS approaches to external programs.
You might try sharing some of your Filename experiments showing the log with any messages. I know the filename can take a lot of options but where something like this may fit I have no clue.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.