LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (December 2005, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 12 Dec 2005 20:59:34 +0000
Reply-To:     toby dunn <tobydunn@HOTMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         toby dunn <tobydunn@HOTMAIL.COM>
Subject:      Re: Does a particular variable is exist in a dataset
Comments: To: nospam@HOWLES.COM, my_sas_spot@YAHOO.COM
In-Reply-To:  <200512122055.jBCKWlM7013191@mailgw.cc.uga.edu>
Content-Type: text/plain; format=flowed

Howard,

Excellent point...

So Myra, in what context do you wish to check that a variable exists in a data set?

Inside of a data step or outside of it?

Toby Dunn

From: "Howard Schreier <hs AT dc-sug DOT org>" <nospam@HOWLES.COM> To: Toby Dunn <tobydunn@HOTMAIL.COM> Subject: Re: Does a particular variable is exist in a dataset Date: Mon, 12 Dec 2005 15:55:02 -0500 Received: from mailgw.cc.uga.edu ([128.192.1.101]) by bay0-mc2-f8.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Mon, 12 Dec 2005 12:55:06 -0800 Received: from listserv.cc.uga.edu (listserv.uga.edu [128.192.1.75])by mailgw.cc.uga.edu (8.12.11/8.12.11) with ESMTP id jBCKWlM7013191for <tobydunn@HOTMAIL.COM>; Mon, 12 Dec 2005 15:55:02 -0500 X-Message-Info: 6sSXyD95QpVWRuUPpgVVjVCbQ41o54x0hsbjStQZ6b4= Return-Path: nospam@HOWLES.COM X-OriginalArrivalTime: 12 Dec 2005 20:55:08.0141 (UTC) FILETIME=[55CCA1D0:01C5FF5E]

I remember that thread. But it examines the PDV of the current DATA step, not the contents of a data set in a library (which is my interpretation of Myra's question).

On Mon, 12 Dec 2005 19:59:02 +0000, toby dunn <tobydunn@HOTMAIL.COM> wrote:

>My_sas > >try vnamex .. > > > >Toby Dunn > > > > > >From: my_sas_spot@YAHOO.COM >Reply-To: my_sas_spot@YAHOO.COM >To: SAS-L@LISTSERV.UGA.EDU >Subject: Does a particular variable is exist in a dataset >Date: Mon, 12 Dec 2005 11:44:27 -0800 > >Like EXIST, FEXIST, etc., I thought there was a function which would >tell you if a particular variable was present within a data set. I >can't find it. I found a SAS FAQ >(http://support.sas.com/faq/018/FAQ01806.html) which gives a macro to >help one find this info. I also called SAS to see if I was overlooking >something, and was told "no". Was I dreaming? :-) If I was, I'll submit >this suggesting to the SASWARE Ballot for next year. > >Myra


Back to: Top of message | Previous page | Main SAS-L page