I have a number of data loads, reports etc that I process on a SAS windows server. I currently use .bat files to launch sas.exe and run the SAS program. I'd like to switch to Powershell scripts.
Has anyone had any experience using PowerShell to launch SAS. I'm particularly interested in passing condition codes from the SAS program back thru PowerShell to my scheduler (autosys) - want to only run job 2 if job 1 completed successfully.
After searching these forums and the SAS support website, I found limited information on this topic/post. You may want to consider contacting SAS tech support directly for their input/guidance, as well as reviewing the available tech/conference references using an Internet search (and searching the forums).