DATA Step, Macro, Functions and more

user defined function

Reply
Contributor
Posts: 66

user defined function

I am reviewing other person's code. He used a self-defined function. How can I get this functions's detailed information, for example, the funciton's code? Thanks

Super User
Posts: 17,750

Re: user defined function

Check the code, if it's defined within the program. Otherwise you're going to have access to the same catalogs or wherever they stored the code for said function.  

 

Look for a PROC FCMP in the code.

Contributor
Posts: 66

Re: user defined function

[ Edited ]

The function has been stored. How can i open the stored function, or to show its content in log.

Super User
Posts: 17,750
Respected Advisor
Posts: 4,641

Re: user defined function

You can also ask proc fcmp to print the code:

 

proc fcmp;
listfunc functionName;
run;
PG
Ask a Question
Discussion stats
  • 4 replies
  • 201 views
  • 2 likes
  • 3 in conversation