Date: Tue, 28 Nov 2006 10:45:04 -0500
Reply-To: Mike Rhoads <RHOADSM1@WESTAT.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Mike Rhoads <RHOADSM1@WESTAT.COM>
Subject: Re: Read the Program Vector of a SAS process
In-Reply-To: <200611281512.kASF7atD007017@mailgw.cc.uga.edu>
Content-Type: text/plain; charset="us-ascii"
You may want to look at the DATA Step Debugger, which lets you step
through a program, check the values of variables on the fly, etc.
This is documented (SAS 9.1.3) at
http://support.sas.com/onlinedoc/913/getDoc/en/lrdict.hlp/a000510023.htm
.
Mike Rhoads
Westat
RhoadsM1@Westat.com
-----Original Message-----
From: owner-sas-l@listserv.uga.edu [mailto:owner-sas-l@listserv.uga.edu]
On Behalf Of Howard Schreier <hs AT dc-sug DOT org>
Sent: Tuesday, November 28, 2006 10:12 AM
To: SAS-L@LISTSERV.UGA.EDU
Subject: Re: Read the Program Vector of a SAS process
On Thu, 23 Nov 2006 17:44:18 -0800, Stig Eide <stig.eide@GMAIL.COM>
wrote:
>Hi.
>Do you think it is possible to get the current Program Vector of a sas
>process?
>That is, to actually read a sas process' memory and get what statements
>it is currently executing?
>Like in Oracle/DB2/mySQL you can peek into what SQLs are submitted, it
>would have been nice to do the same with SAS.
>Cheers!
>Stig
I'm not sure I understand what you are seeking.
A DATA step's Program Data Vector can be referenced in various contexts
with
the _ALL_ keyword and/or the PEEK function.
But that has nothing to do with statements being executed.