Date: Sun, 28 Feb 2010 21:17:25 -0500
Reply-To: "Fehd, Ronald J. (CDC/CCHIS/NCPHI)" <rjf2@CDC.GOV>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Fehd, Ronald J. (CDC/CCHIS/NCPHI)" <rjf2@CDC.GOV>
Subject: Re: source vs. nosource system option
In-Reply-To: <caf5d627-8655-4ebd-acb0-60e563ea9db2@o30g2000yqb.googlegroups.com>
Content-Type: text/plain; charset=us-ascii
The names of the options are source and source2;
The Boolean values which are their negation are: nosource and nosource2;
Default values:
Source: source
Source2: nosource2
What this means:
statements in your primary==top-level program are echoed to the log;
statements in called (sub-)routines are not echoed unless requested:
options source2;*reset to true;
The option source2 can also be applied selectively:
%Include Project(MyProgramA)\source2;
%Include Project(SubRoutinB)\nosource2;
Ron Fehd the \include (sub-)routine maven
-----Original Message-----
From: owner-sas-l@listserv.uga.edu [mailto:owner-sas-l@listserv.uga.edu]
On Behalf Of Arthur Tabachneck
Sent: Sunday, February 28, 2010 9:12 AM
To: Anaconda
Cc: SAS-L@LISTSERV.UGA.EDU
Subject: Re: source vs. nosource system option
Rune,
I couldn't find which is the default in the documentation either, but
the current settings definitely appear as a result of running "proc
options;run;" (on my system at least). And, since I've never changed
them, source and nosource2 appear to be the likely default settings.
Art
--------------
On Feb 28, 6:22 am, Anaconda <r...@fastlane.no> wrote:
> The SOURCE system option decides whether the source code is written to
> the log. In the SAS documentation it I cannot find which one of SOURCE
> or NOSOURCE that are default. Which one is it?
> By writing
> proc options ;
> run;
> I can not find out which one is activated either.
> I also write
> %let _scr = %sysfunc(getoption(source));
> %put &_scr;
> but then I get
> WARNING: Apparent symbolic reference _SCR not resolved.
>
> - Anaconda