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.
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
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.
Ready to level-up your skills? Choose your own adventure.