Hi, I am currently creating a process which will be scheduled on our Viya 3.3 environment which will effectively loop through a folder and read filenames of a certain pattern. So obviously to start I need a list of files. This would be completed using something similar to the below filename myfiles pipe "ls /data/files/*.ext"; And stored in a table using a subsequent data step. I first got errors then surrounding XCMD issues, so obviously this option is disabled by default. Similar messages occur using the %SYSEXEC Macros. ERROR: Shell Escape is Not Valid in this Session I've tried adding the OPTIONS XCMD; to the start of the script which appears to not have worked, and I do have access to autoexec_usermods.sas and have added the same still no luck. Finally I've tried implementing the Enabling -XCMD for the SAS Connect Spawner and still no luck. I get the security implications for disabling this initially, however it surely isn't that hard to enable system commands in SAS? If anybody can point me in the right direction, it would be greatly appreciated.
... View more