Date: Tue, 9 Jun 2009 07:43:29 -0400
Reply-To: Gordon Cox <gordon.cox@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Gordon Cox <gordon.cox@GMAIL.COM>
Subject: Re: Running sas in unix box
In-Reply-To: <440863.45722.qm@web7707.mail.in.yahoo.com>
Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes
This is a 2 part command. First is the location of the sas script. The
second part is the name of your file. If you run the command from your
home directory you don't have to give a full path for test.sas. Oh and
you can also leave off the ".sas"
So from your home directory the command is /opt/apps/sas/install/
SAS_9.1/sas test
Anywhere else would be
/opt/.../sas ~/test
You could also make an alias for the sas command in your .alias file
in your profile. Check with your admin first.
Sent from my iPhone
On Jun 9, 2009, at 5:41 AM, Alex S <alex4sas@YAHOO.CO.IN> wrote:
> Hello All,
> I want to run a SAS code in unix. My admin suggested me to
> run my sas code like this.
> /opt/apps/sas/install/SAS_9.1/sas /users/mylogin/test.sas
>
> I want to run the sas code on my home directory like this /users/
> mylogin/sas test.sas
> how can i do like above .. i guess i have to change the Autoexe.sas
> file.
> Could you help me on this.
>
> Thanking you in advance.
>
> Regards
> alex .S.
>
>
> Explore and discover exciting holidays and getaways with Yahoo!
> India Travel http://in.travel.yahoo.com/