LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (October 1996, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 16 Oct 1996 05:25:52 GMT
Reply-To:   david@med-buspheb.bu.edu
Sender:   "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:   David Gagnon <david@MED-BUSPHEB.BU.EDU>
Organization:   Boston University
Subject:   Re: Retrieve SAS program name to a macro variable

: Maybe some of the PC experts out there can give you an example that : fills the SYSPARM parameter automatically with the full path for the filename.

The following works under Unix [solaris 1 and 2]:

1. write a short program that has the following: sas $1 -sysparm $PWD/$1 -fsdevice ascii.vt100

2. create an alias that runs this program instead of directly invoking SAS. In this case, the above program was called .sasb in the home directory, and the alias was: alias sas '~/.sasb \!*' . Note that this is not strictly necessary, but it does make it automatic with every invocation of SAS.

-- >David< David R. Gagnon, MD MPH (617) 638-4457 [voice] Boston University School of Public Health (617) 638-4458 [fax] "ecrasez l'infamie"

http://www-busph.bu.edu/Depts/Epi-Biostats/David_HomePage.html


Back to: Top of message | Previous page | Main SAS-L page