DATA Step, Macro, Functions and more

What is the difference between %uinput() and %input()?

Accepted Solution Solved
Reply
Contributor
Posts: 24
Accepted Solution

What is the difference between %uinput() and %input()?

Hi,

 

I am reading other person's code. Just want to know the difference between %uinput() and %input()?

 

ATOXGRC=%uput(ATOXGR, $atoxgr_c_r.);
ATOXGRN=%uinput(ATOXGRC, $atoxgrn_i.);

 

Thanks


Accepted Solutions
Solution
‎09-18-2017 01:31 PM
Valued Guide
Posts: 555

Re: What is the difference between %uinput() and %input()?

%input is a macro statement whiich is part of the SAS macro language - I've never heard of %uinput so  I assume it's a macro someone else has written. http://support.sas.com/documentation/cdl/en/mcrolref/69726/HTML/default/viewer.htm#n1jspx1ctztpvzn1g...

View solution in original post


All Replies
Contributor
Posts: 24

Re: What is the difference between %uinput() and %input()?

Sorry this is macro call
Solution
‎09-18-2017 01:31 PM
Valued Guide
Posts: 555

Re: What is the difference between %uinput() and %input()?

%input is a macro statement whiich is part of the SAS macro language - I've never heard of %uinput so  I assume it's a macro someone else has written. http://support.sas.com/documentation/cdl/en/mcrolref/69726/HTML/default/viewer.htm#n1jspx1ctztpvzn1g...

Super User
Super User
Posts: 7,845

Re: What is the difference between %uinput() and %input()?

There is no %INPUT() macro function. There is a %INPUT macro statement.  

The %UPUT() and %UINPUT() macros used in your code are user defined.

You will need to look for the code that defined them in either in the program you are reading or in an autocall library of macro definitions that the program expects to use.

☑ This topic is solved.

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

Discussion stats
  • 3 replies
  • 157 views
  • 0 likes
  • 3 in conversation