Discussion:
Starting a script from SAS on the mainframe.
(too old to reply)
Anthony Smith
2006-10-10 14:44:25 UTC
Permalink
Is this possible? I am using mainframe SAS and wanted to know if there
was a way where I could call a script on a Unix or Linux server. Maybe
connect via SSH and issue a command?
Gerhard Hellriegel
2006-10-10 14:52:35 UTC
Permalink
Is SAS/Connect available?
Post by Anthony Smith
Is this possible? I am using mainframe SAS and wanted to know if there
was a way where I could call a script on a Unix or Linux server. Maybe
connect via SSH and issue a command?
Robert Bardos
2006-10-10 15:03:53 UTC
Permalink
Is this a one time task or would you want to run this script
regulary?

If the latter, then you might consider setting up a script on the
*ix side which is run periodically by cron that checks for the
existence of a trigger file.

In this scenario all the mainframe had to do, was to create (e.g.
by using ftp) the trigger file on the *ix machine.

Just an idea

Robert Bardos
Ansys AG, Zürich, Switzerland
-----Ursprüngliche Nachricht-----
Von: SAS(r) Discussion
Anthony Smith
Gesendet: Dienstag, 10. Oktober 2006 16:44
Betreff: Starting a script from SAS on the mainframe.
Is this possible? I am using mainframe SAS and wanted
to know if there
was a way where I could call a script on a Unix or
Linux server. Maybe
connect via SSH and issue a command?
Schulte, Daniel
2006-10-10 15:06:08 UTC
Permalink
Hi,

if SAS/Connect is available, you can subit anything you want.

rsubmit;
data _null_;
command= "command you want to execute";
call system(command);
run;
endrsubmit;

The "command" is running in the context of the remote user, used to sign on to the remote server.

Best Regards,
Daniel Schulte

_____________________________
Daniel Schulte
viadee Unternehmensberatung GmbH
Anton-Bruchausen-Str. 8
D-48147 Muenster

Tel. +49 251 77777-142
Fax +49 251 77777-99142
Mail ***@viadee.de

________________________________

Von: SAS(r) Discussion im Auftrag von Anthony Smith
Gesendet: Di 10.10.2006 16:44
An: SAS-***@LISTSERV.UGA.EDU
Betreff: Starting a script from SAS on the mainframe.



Is this possible? I am using mainframe SAS and wanted to know if there
was a way where I could call a script on a Unix or Linux server. Maybe
connect via SSH and issue a command?

Loading...