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.

Get Name of Program

From sasCommunity
Revision as of 16:06, 16 August 2007 by Rjf2 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Get Name of Program

  • in session:
%let FileSpec=%sysget(SAS_EXECFILEPATH);
%put FileSpec: &FileSpec.;
  • in batch:
%let FileSpec=%sysfunc(getoption(SysIn));
%put FileSpec: &FileSpec.;

--macro maven == the radical programmer 17:06, 16 August 2007 (EDT)