how to re-defind a sas function?

Accepted Solution Solved
Reply
Contributor
Posts: 46
Accepted Solution

how to re-defind a sas function?

Hello All, Since there is a problem I would like to solve with a sas function.  However, there is a default setting I would like to change it.

(for example, you can display the original function algorithm of a r function and you can modify it after all.....something like that~)

it will be appreciated that if you can help me to locate a file or document which teaches how to re-define a sas function.

thank you all.


Accepted Solutions
Solution
‎01-14-2013 09:09 AM
SAS Super FREQ
Posts: 8,864

Re: how to re-defind a sas function?

Hi:

  You cannot "rewrite" a SAS function, or alter its inner workings. SAS functions are documented for how they work and any bugs or enhancements go through R&D for changes. However, you can use PROC FCMP to define your own function. Generally, in order to define your own function, I recommend that you have working code that produces what you want. I'd suggest that you open a track with Tech Support for more help with what you want to do. You do not describe the function, nor how you want to change it. Frequently, if what you want to do is a common change, a function will have an alternate invocation or option.

  To open a track with Tech Support, fill out the form at this link:

http://support.sas.com/ctx/supportform/createForm

cynthia

View solution in original post


All Replies
Solution
‎01-14-2013 09:09 AM
SAS Super FREQ
Posts: 8,864

Re: how to re-defind a sas function?

Hi:

  You cannot "rewrite" a SAS function, or alter its inner workings. SAS functions are documented for how they work and any bugs or enhancements go through R&D for changes. However, you can use PROC FCMP to define your own function. Generally, in order to define your own function, I recommend that you have working code that produces what you want. I'd suggest that you open a track with Tech Support for more help with what you want to do. You do not describe the function, nor how you want to change it. Frequently, if what you want to do is a common change, a function will have an alternate invocation or option.

  To open a track with Tech Support, fill out the form at this link:

http://support.sas.com/ctx/supportform/createForm

cynthia

Contributor
Posts: 46

Re: how to re-defind a sas function?

Posted in reply to Cynthia_sas

Thanks a lot!!

🔒 This topic is solved and locked.

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

Discussion stats
  • 2 replies
  • 202 views
  • 1 like
  • 2 in conversation