DATA Step, Macro, Functions and more

%sysfunc to get variable attributes

Accepted Solution Solved
Reply
Super User
Posts: 5,082
Accepted Solution

%sysfunc to get variable attributes

Help!  I'm drawing a blank when I know I've done this about 5 years ago.

How can I use %sysfunc to call functions to get attributes of a data step variable?  Something like opening the data set, locating the variable by number, then retrieving whether it is character or numeric?  Thanks in advance!


Accepted Solutions
Solution
‎04-10-2012 09:57 AM
Super Contributor
Posts: 1,636

Re: %sysfunc to get variable attributes

Hi Astounding,

I think this paper maybe helpful to you http://www.nesug.org/proceedings/nesug08/po/po06.pdf

Linlin

View solution in original post


All Replies
Solution
‎04-10-2012 09:57 AM
Super Contributor
Posts: 1,636

Re: %sysfunc to get variable attributes

Hi Astounding,

I think this paper maybe helpful to you http://www.nesug.org/proceedings/nesug08/po/po06.pdf

Linlin

Super User
Posts: 5,082

Re: %sysfunc to get variable attributes

Linlin,

Perfect.  Thank you!

OK, I thought the next step would be easy.  But somehow I'm not seeing it ...

What do I need to click on to mark your answer as Correct?    :smileyshocked:

OK, figured it out.  :smileylaugh:  .,.. I hope!

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 506 views
  • 0 likes
  • 2 in conversation