Program Data Vector - what SAS is really seeing, not just the dataset
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Joe Matise
Sent: Thursday, September 30, 2010 9:35 AM
Subject: Re: IN= variables, End= variables
I'm a bit curious, as someone who knows how to program in SAS but didn't
learn the book way so doesn't know terminology. What does PDV really
exactly mean? To me, it would mean path from the variables in the code and
input dataset to the output dataset. Then, automatic variables [eg _N_, in=
variables, etc.] wouldn't really be in the "PDV" since they are not getting
written out... Does PDV actually mean the internal temporary memory
structure that exists in between the code/input data and the output data?
On Thu, Sep 30, 2010 at 7:14 AM, Arthur Tabachneck <firstname.lastname@example.org>wrote:
> No, but all variables that appear via a putlog _all_ statement are
> variables that are in the pdv.
> In this case, the variables assigned with in= and end= are definitely
> On Thu, 30 Sep 2010 08:09:00 -0400, bbser2009 <bbser2009@GMAIL.COM> wrote:
> >I did not try that.
> >But, even after using putlog _all_ and seeing they are in the log, can we
> >sure IN= variables ever exists in PDV according to that?
> >Or did you suggest that all variables occur in a data step exist in the
> >-----Original Message-----
> >From: Arthur Tabachneck [mailto:art297@NETSCAPE.NET]
> >Sent: September-30-10 7:46 AM
> >To: SAS-L@LISTSERV.UGA.EDU; Bbser 2009
> >Subject: Re: IN= variables, End= variables
> >Did you try to find out yourself by writing a small data step and
> >including a putlog _all_ statement in it?
> >On Thu, 30 Sep 2010 06:11:14 -0400, bbser2009 <bbser2009@GMAIL.COM>
> >>I know these variables do not write to the data set.
> >>I am just wondering, do they write to the Program data vector, just like
> >>and _Error_?