07-18-2017 03:47 PM
Hi, Seeking a help.
I have a scenario whether , set of SAS EG jobs are being executed manually by users and wanted to schedule them via 3rd party scheduler.
The SAS Server is on unix and SAS EG client installed on user machine , whether they execute the jobs, the reports output is stored in a windows sever.
Can you pls help me how this can be accomplished?
07-18-2017 04:02 PM
If you can run jobs on UNIX via the scheduler, I'd recommend making .sas files out of your jobs and running them in batch on UNIX.
07-18-2017 04:08 PM
07-19-2017 02:09 AM
As @KurtBremser said, easier way is just to export the code as .sas and the run on the server as a batch job.
However, I suspect your question is more around the outputs to a Windows path. With EG on Windows, connecting to and sending output to a Windows path is easy, since it's all Windows. But I think your challenge is running SAS on UNIX and then writing to a Windows path...from UNIX. Is this correct ?
07-19-2017 09:14 AM
Thats correct. currently, the report output is being written to windows and users want the same way. if i go with unix route, i would either have change SAS EG jobs to change the desntination path from windows to unix. thats reason, im thinking windows sever having SAS EG client as a middle layer for automation.
07-19-2017 11:09 AM
Do you have an enterprise file transfer utilty like XCOM or Connectirect ? You could then write to a UNIX directory and then have the utility move the file to a Windows directory.
Else maybe FTP ?
07-19-2017 02:13 AM
Personally, I would never involve Windows client software (EG) in production jobs that are scheduled. There are simply too many things in Windows that can break (.NET, VBS, ...)
In our setup, NO scheduling agents are needed on the UNIX server. All communication from and to the scheduler is done via ssh and sftp, and some custom shell scripts. Has been working like a charm for ~20 years.