Date: Thu, 7 Dec 2006 20:47:50 -0800
Reply-To: Jitin Batra <jitinbatra@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jitin Batra <jitinbatra@GMAIL.COM>
Organization: http://groups.google.com
Subject: Re: Detect usage of a dataset
In-Reply-To: <BAY103-F3944935B300D661F5B4B76B0DC0@phx.gbl>
Content-Type: text/plain; charset="us-ascii"
Hey David,
I am not able to run the fuser command to detect the lock on a dataset.
Don't know why its not working. I also took help from Roland on this,
but till today the fuser command is giving no output.
Regards,
Jitin
David L Cassell wrote:
> jitinbatra@GMAIL.COM wrote back:
> >Alan Churchill wrote:
> > > Sorry, I have never worked on Open VMS. The below is for Windows.
> > >
> > >
> > >
> > > Alan
> > >
> > >
> > >
> > > Alan Churchill
> > > Savian "Bridging SAS and Microsoft Technologies"
> > > www.savian.net <http://www.savian.net/>
> > >
> > >
> > >
> > >
> > >
> > > From: SAS_learner [mailto:proccontents@gmail.com]
> > > Sent: Tuesday, December 05, 2006 11:03 AM
> > > To: Alan Churchill
> > > Cc: SAS-L@listserv.uga.edu
> > > Subject: Re: Detect usage of a dataset
> > >
> > >
> > >
> > > Anything similar for Open VMS ??????????
> > >
> > > On 12/4/06, Alan Churchill <SASL001@savian.net> wrote:
> > >
> > > http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx
> > >
> > > I would use PowerShell for this type of operation (assuming you are on
> > > Windows).
> > >
> > > Alan
> > >
> > > Alan Churchill
> > > Savian "Bridging SAS and Microsoft Technologies"
> > > www.savian.net
> > >
> > >
> > > -----Original Message-----
> > > From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of
> >Jitin
> > > Batra
> > > Sent: Sunday, December 03, 2006 10:39 PM
> > > To: SAS-L@LISTSERV.UGA.EDU
> > > Subject: Detect usage of a dataset
> > >
> > > Is there any way to find out which process id is working on an existing
> > > SAS dataset? No matter what operation is being carried out by any
> > > process.
>
> >Can we do it in C language? I mean what if we don't want to use shell
> >sript. We are using AIX 5.2.
>
> Roland's progrgie ought to work on AIX.
>
> So what's wrong with a shell script?
>
> And yes, you can take all the pieces of Roland's script, code them
> up yourself (you do have the source code for all the utilities that
> Roland calls in the script, right?), test all the pieces to catch all the
> bugs you introduced when re-writing code which took many
> person-hours to build in the first place, and compile them into a
> C program. I would not. If you really hate shell scripts, do it
> in Perl.
>
> HTH,
> David
> --
> David L. Cassell
> mathematical statistician
> Design Pathways
> 3115 NW Norwood Pl.
> Corvallis OR 97330
>
> _________________________________________________________________
> Visit MSN Holiday Challenge for your chance to win up to $50,000 in Holiday
> cash from MSN today!
> http://www.msnholidaychallenge.com/index.aspx?ocid=tagline&locale=en-us
|