Tip of the Day
sasCommunity Tip of the Day
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.
Submitted By Don Henderson
Feel free to comment on this tip.
Tips Index by Status
The Tip of the Day Project
A new technical Tip of the Day related to SAS software will be shown on this page and the sasCommunity.org main page every day. Before getting started, you can Browse and Search the current list of tips contributed by users.
Anyone can participate. We hope you do! Here's how:
- Submit a Tip by posting a SAS tip that you think others might find useful
- Review a Tip prior to publishing