BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Lulus
Obsidian | Level 7

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Cynthia_sas
SAS Super FREQ

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

2 REPLIES 2
Cynthia_sas
SAS Super FREQ

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

Lulus
Obsidian | Level 7

Thanks a lot!!

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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