As the first step in the decommissioning of the site has been converted to read-only mode.

Here are some tips for How to share your SAS knowledge with your professional network.

Difference between revisions of "Tips:Compile a Java program with PROC GROOVY"

From sasCommunity
Jump to: navigation, search
(added category)
(Scheduled April 24, 2014)
Line 22: Line 22:
<div style="float:right">Submitted By [[User:JackHamilton|JackHamilton]]</div>
<div style="float:right">Submitted By [[User:JackHamilton|JackHamilton]]</div>
[[Category:Tip Ready]]
[[Category:Tip in Use]]
[[Category:GROOVY Procedure]]
[[Category:GROOVY Procedure]]

Revision as of 23:30, 17 April 2014

Did you know that PROC GROOVY can compile and run Java code inside a SAS program?

There are many useful examples of Java (and Groovy) code on the net, so you don't have to learn a new language to get new functionality in SAS.

For example, paste this Java code into a a PROC GROOVY submit block, run it, and you will see a directory listing in your SAS log. This is a trivial example, but there are thousands more examples out there!

PROC GROOVY is available starting in SAS 9.3. Check out the following links:

Submitted By JackHamilton