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.


Get Name of Program

From sasCommunity
Revision as of 00:31, 2 November 2014 by ArtCarpenter (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
  • in session:
%let FileSpec=%sysget(SAS_EXECFILEPATH);
%put FileSpec: &FileSpec.;
  • in batch:
%let FileSpec=%sysfunc(getoption(SysIn));
%put FileSpec: &FileSpec.;
  • in autoexec:
Title1 'Our Company, The Project';
Title2        
%sysfunc(ifc("%sysfunc(getoption(SysIn))" ne ""
            ,%nrstr(%sysfunc(getoption(SysIn)))
            ,%nrstr(%sysget(SAS_EXECFILEPATH))
        )   );
  • references

Conditionally_Executing_Global_Statements

Paper by Art Carpenter to retrieve path information.


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