As the first step in the decommissioning of sasCommunity.org the site has been converted to read-only mode.
Here are some tips for How to share your SAS knowledge with your professional network.
Tips:Get the Metadata Path for the Currently Running Stored Process
Starting with SAS®9.2, a new reserved macro variable named _METAFOLDER is available. The value of the variable is the SAS metadata path for the currently running stored process. This allows a program to reference another stored process in the same folder without having to hard-code the entire path, or parse the path value from the _PROGRAM macro variable.
In version 9.1.3, you can use the storedProcessPath macro (see the read more link below) get the path value of the currently executing stored process, and more.