LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (July 2003, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 14 Jul 2003 10:26:24 -0700
Reply-To:     Hugh <roghmann@NEWAGE3.STANFORD.EDU>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Hugh <roghmann@NEWAGE3.STANFORD.EDU>
Organization: http://groups.google.com/
Subject:      Re: can't run system commands in SAS/CONNECT to unix
Content-Type: text/plain; charset=ISO-8859-1

Andrew,

You were correct: I need to start the unix spawner with the -shell startup option.

I now started the spawner running with the below command and now my system commands are being recognized.

./sastcpd -service unxspawn -shell

thanks very much for your help, Hugh

Andrew.Farrer@CIBC.COM (Farrer, Andrew C) wrote in message news:<8DD657EA29E7D411A9C200D0B73C76780D743784@gemmrd-scc001eu.gem.cibc.com>... > It would be worth removing the comments from the two statements at the top > of your \Program Files\SAS Institute\SAS\V8\connect\saslink\tcpunix.scr > signon script: > /* trace on; */ > /* echo on; */ > In that way you can see the messages returned by the Unix shell or the > spawner which should give you a clue. For example the spawner sometimes > needs the -shell startup option or the telnet method will start an > unfamiliar profile. You can also post a more complete log to support@sas.com > or SAS-L. > > -----Original Message----- > From: Hugh [mailto:roghmann@NEWAGE3.STANFORD.EDU] > Sent: Friday, July 11, 2003 9:32 PM > To: SAS-L@LISTSERV.UGA.EDU > Subject: can't run system commands in SAS/CONNECT to unix > > > Hi there, > > I'm running SAS/Connect from my Windows XP PC to unix for the first > time, and I've so far been unable to run some basic unix system > commands from within my sas job. Please tell me this is possible, > yes? > > I'm getting the following warning in my log file, and the system > command is simply ignored. > WARNING: Shell escape is not valid in this SAS session. > > I've tried to do this 3 different ways, all with no success: > 1. x cd /dir3; > 2. %SYSEXEC(cd /dir3); > 3. > data _null_; > call system("cd /dir3"); > run; > > Can anybody please tell me what I'm doing wrong? > > thanks much > Hugh


Back to: Top of message | Previous page | Main SAS-L page