Date: Tue, 27 Apr 2004 11:06:25 -0500
Reply-To: Paul Thompson <paul@WUBIOS.WUSTL.EDU>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Paul Thompson <paul@WUBIOS.WUSTL.EDU>
Organization: Washington University in St. Louis
Subject: Re: x command in intrnet session
Content-Type: text/plain; charset=us-ascii; format=flowed
Kenneth Moody wrote:
> Mason,
>
> SAS/IntrNet servers are generally run under a special or system userid.
> If that's the case in your shop, does the SAS/IntrNet user have
> permission to update the files in question?
>
> Ken
>
>
>>>>"Mason Burley" <mason.burley@LGAN.COM> 04/26/04 08:40AM >>>
>
> Using interactive SAS, I can use the 'X' command to delete files from
> certain directories. However, once I try the same approach in
> SAS/Intrnet,
> the files are no longer deleted. I don't get any error messages in the
> log,
> but the command does not work.
>
> Any ideas on different approaches/commands/settings?
>
> Thanks for your help,
>
> Mason Burley
Generally, in performing this sort of thing, I find that setting up a
shell script is the best approach. That way, I can execute the script
in unix to test it. Once it works, I "shell out" in SAS/IntrNet and
perform the same process.
Many many errors are possibly the problem. Here are some tips:
1) Use absolute paths to all executables. The path for SAS/IntrNet may
be different than under unix. So, say
/users/bin/snort -a
instead of
snort -a
to execute process snort.
2) Permissions are important. They need to be tested.
3) You can have difficulties getting to specific directories if you are
not careful.
|