Prev: CIBASIC
Next: SAS Editor
From: Paul Kent on
Ron (and others on SAS-L)

This doesn't make sense. Something in a configuration somewhere has turned ODS LISTING OFF; in your scenario.
By default, SAS has always run starting with ODS LISTING; and we would not change that on purpose.

If Ron could email me a tracking number, I'll followup ASAP.
I just don't want to alarm everyone else until we get to the bottom of whats turning it OFF at the CDC.

Paul


Paul Kent
SAS R&D

-----Original Message-----
From: SAS(r) Discussion [mailto:SAS-L(a)LISTSERV.UGA.EDU] On Behalf Of Fehd, Ronald J. (CDC/CCHIS/NCPHI)
Sent: Tuesday, February 16, 2010 4:18 PM
To: SAS-L(a)LISTSERV.UGA.EDU
Subject: SAS v9.2.2 feature: ODS statement required

Ah, just what I need to know for those thousands of users who will get
their v9.2.2 license updates
Real Soon Now!

WARNING: No output destinations active.

All vanilla output stops until you add the statement:

ODS listing;

To someplace intelligent:
NOT
In front of all your proc print, etc.

But, better yet: in your autoexec.

You *do* have one, right?

Ron Fehd the autoexec maven CDC Atlanta GA USA RJF2 at cdc dot gov

Todo: add one line to each of umpteen project autoexecs
From: Tom Abernathy on
I think there is something in the air that is turning this off.
I had a user today with the same problem that we "solved" by having
him make a whole new SASUSER directory.
Kind of a sledge hammer approach to the actual problem.
Looking at his non-working SASUSER library with PROC REGISTRY it
appears that he turned off the listing destination, but we have no
idea how. Here is the lines from the dump from PROC REGISTRY.

[ODS]

[ODS\DESTINATIONS]

[ODS\DESTINATIONS\MARKUP]

[ODS\DESTINATIONS\MARKUP\HTML4]
"Default State"="Off"
"Selected Style"="Default"
"Use SASWORK"="On"

[ODS\DESTINATIONS\MONOSPACE]
"Default State"="Off"

[ODS\GUI]

[ODS\GUI\RESULTS]
"Auto Navigate"="On"



On Feb 16, 5:31 pm, Paul.K...(a)SAS.COM (Paul Kent) wrote:
> Ron (and others on SAS-L)
>
> This doesn't make sense. Something in a configuration somewhere has turned ODS LISTING OFF; in your scenario.
> By default, SAS has always run starting with ODS LISTING; and we would not change that on purpose.
>
> If Ron could email me a tracking number, I'll followup ASAP.
> I just don't want to alarm everyone else until we get to the bottom of whats turning it OFF at the CDC.
>
> Paul
>
> Paul Kent
> SAS R&D
>
>
>
> -----Original Message-----
> From: SAS(r) Discussion [mailto:SA...(a)LISTSERV.UGA.EDU] On Behalf Of Fehd, Ronald J. (CDC/CCHIS/NCPHI)
> Sent: Tuesday, February 16, 2010 4:18 PM
> To: SA...(a)LISTSERV.UGA.EDU
> Subject: SAS v9.2.2 feature: ODS statement required
>
> Ah, just what I need to know for those thousands of users who will get
> their v9.2.2 license updates
> Real Soon Now!
>
> WARNING: No output destinations active.
>
> All vanilla output stops until you add the statement:
>
> ODS listing;
>
> To someplace intelligent:
> NOT
> In front of all your proc print, etc.
>
> But, better yet: in your autoexec.
>
> You *do* have one, right?
>
> Ron Fehd  the autoexec maven  CDC Atlanta GA USA RJF2 at cdc dot gov
>
> Todo: add one line to each of umpteen project autoexecs- Hide quoted text -
>
> - Show quoted text -

From: Nancy Brucken on
Hi Tom,

Slightly OT, but is there a way to turn off the Results Viewer somewhere
in the default configuration? We had that set in 9.1.3 somehow, but
recently switched to 9.2, and it has come back. I've got it turned off in
my profile, but the way our Citrix installation is configured, when
running multiple SAS sessions, the profile is only in effect for the first
one, and it's really annoying to have to remember to go into Tools,
Preferences and turn it off every time I start up a new session.

Thanks,
Nancy

Nancy Brucken
brucken at provide dot net

On Tue, 16 Feb 2010 15:12:16 -0800, Tom Abernathy
<tom.abernathy(a)GMAIL.COM> wrote:

>I think there is something in the air that is turning this off.
>I had a user today with the same problem that we "solved" by having
>him make a whole new SASUSER directory.
>Kind of a sledge hammer approach to the actual problem.
>Looking at his non-working SASUSER library with PROC REGISTRY it
>appears that he turned off the listing destination, but we have no
>idea how. Here is the lines from the dump from PROC REGISTRY.
>
>[ODS]
>
>[ODS\DESTINATIONS]
>
>[ODS\DESTINATIONS\MARKUP]
>
>[ODS\DESTINATIONS\MARKUP\HTML4]
>"Default State"="Off"
>"Selected Style"="Default"
>"Use SASWORK"="On"
>
>[ODS\DESTINATIONS\MONOSPACE]
>"Default State"="Off"
>
>[ODS\GUI]
>
>[ODS\GUI\RESULTS]
>"Auto Navigate"="On"
>
<rest snipped>
From: Tom Abernathy on
Nancy -
In a program you can turn it off with ODS LISTING CLOSE statement.
What I do to avoid SAS's inability to have multiple processes
writing to the same SASUSER profile is to use the -RSASUSER option
when I start SAS. This will make the SASUSER library readonly and all
your sessions will start with the same keys and other user
preferences. Does cause a little trouble with some SAS tools like
NOTEPAD that assume they will have write access to SASUSER.
You might be able to work out a way to copy your PROFILE to the
WORK.PROFILE that SAS creates when it cannot get write access to
SASUSER.PROFILE. I am not sure if you can read from the
SASUSER.PROFILE in that situation, but perhaps you could store a copy
somewhere and read from that. Not sure if you need to use PROC COPY,
PROC CATALOG or PROC REGISTRY to make the copy.
I am not sure how to change the template that SAS uses when it sees
that it cannot write to SASUSER.PROFILE. I do not have to deal with
installs.
- Tom

On Feb 18, 2:27 am, bruc...(a)PROVIDE.NET (Nancy Brucken) wrote:
> Hi Tom,
>
> Slightly OT, but is there a way to turn off the Results Viewer somewhere
> in the default configuration?  We had that set in 9.1.3 somehow, but
> recently switched to 9.2, and it has come back.  I've got it turned off in
> my profile, but the way our Citrix installation is configured, when
> running multiple SAS sessions, the profile is only in effect for the first
> one, and it's really annoying to have to remember to go into Tools,
> Preferences and turn it off every time I start up a new session.
>
> Thanks,
>    Nancy
>
> Nancy Brucken
> brucken at provide dot net
>
> On Tue, 16 Feb 2010 15:12:16 -0800, Tom Abernathy
>
>
>
>
>
> <tom.aberna...(a)GMAIL.COM> wrote:
> >I think there is something in the air that is turning this off.
> >I had a user today with the same problem that we "solved" by having
> >him make a whole new SASUSER directory.
> >Kind of a sledge hammer approach to the actual problem.
> >Looking at his non-working SASUSER library with PROC REGISTRY it
> >appears that he turned off the listing destination, but we have no
> >idea how.  Here is the lines from the dump from PROC REGISTRY.
>
> >[ODS]
>
> >[ODS\DESTINATIONS]
>
> >[ODS\DESTINATIONS\MARKUP]
>
> >[ODS\DESTINATIONS\MARKUP\HTML4]
> >"Default State"="Off"
> >"Selected Style"="Default"
> >"Use SASWORK"="On"
>
> >[ODS\DESTINATIONS\MONOSPACE]
> >"Default State"="Off"
>
> >[ODS\GUI]
>
> >[ODS\GUI\RESULTS]
> >"Auto Navigate"="On"
>
> <rest snipped>- Hide quoted text -
>
> - Show quoted text -

From: Mike Rhoads on
There are a couple of ODS statements potentially in play here, assuming you can use an AUTOEXEC.SAS or a suitable substitute (such as the -INITSTMT option).

As Tom notes, ODS LISTING CLOSE; can be used to close the listing destination -- useful if you have moved beyond that.

ODS RESULTS OFF; will specifically turn off having ODS output go to the Results window.


Mike Rhoads
RhoadsM1(a)Westat.com


-----Original Message-----
From: SAS(r) Discussion [mailto:SAS-L(a)LISTSERV.UGA.EDU] On Behalf Of Tom Abernathy
Sent: Thursday, February 18, 2010 8:48 AM
To: SAS-L(a)LISTSERV.UGA.EDU
Subject: Re: SAS v9.2.2 feature: ODS statement required

Nancy -
In a program you can turn it off with ODS LISTING CLOSE statement.
What I do to avoid SAS's inability to have multiple processes writing to the same SASUSER profile is to use the -RSASUSER option when I start SAS. This will make the SASUSER library readonly and all your sessions will start with the same keys and other user preferences. Does cause a little trouble with some SAS tools like NOTEPAD that assume they will have write access to SASUSER.
You might be able to work out a way to copy your PROFILE to the WORK.PROFILE that SAS creates when it cannot get write access to SASUSER.PROFILE. I am not sure if you can read from the SASUSER.PROFILE in that situation, but perhaps you could store a copy somewhere and read from that. Not sure if you need to use PROC COPY, PROC CATALOG or PROC REGISTRY to make the copy.
I am not sure how to change the template that SAS uses when it sees that it cannot write to SASUSER.PROFILE. I do not have to deal with installs.
- Tom

On Feb 18, 2:27 am, bruc...(a)PROVIDE.NET (Nancy Brucken) wrote:
> Hi Tom,
>
> Slightly OT, but is there a way to turn off the Results Viewer
> somewhere in the default configuration? We had that set in 9.1.3
> somehow, but recently switched to 9.2, and it has come back. I've got
> it turned off in my profile, but the way our Citrix installation is
> configured, when running multiple SAS sessions, the profile is only in
> effect for the first one, and it's really annoying to have to remember
> to go into Tools, Preferences and turn it off every time I start up a new session.
>
> Thanks,
> Nancy
>
> Nancy Brucken
> brucken at provide dot net
>
> On Tue, 16 Feb 2010 15:12:16 -0800, Tom Abernathy
>
>
>
>
>
> <tom.aberna...(a)GMAIL.COM> wrote:
> >I think there is something in the air that is turning this off.
> >I had a user today with the same problem that we "solved" by having
> >him make a whole new SASUSER directory.
> >Kind of a sledge hammer approach to the actual problem.
> >Looking at his non-working SASUSER library with PROC REGISTRY it
> >appears that he turned off the listing destination, but we have no
> >idea how. Here is the lines from the dump from PROC REGISTRY.
>
> >[ODS]
>
> >[ODS\DESTINATIONS]
>
> >[ODS\DESTINATIONS\MARKUP]
>
> >[ODS\DESTINATIONS\MARKUP\HTML4]
> >"Default State"="Off"
> >"Selected Style"="Default"
> >"Use SASWORK"="On"
>
> >[ODS\DESTINATIONS\MONOSPACE]
> >"Default State"="Off"
>
> >[ODS\GUI]
>
> >[ODS\GUI\RESULTS]
> >"Auto Navigate"="On"
>
> <rest snipped>- Hide quoted text -
>
> - Show quoted text -
 |  Next  |  Last
Pages: 1 2
Prev: CIBASIC
Next: SAS Editor