Date: Tue, 22 Jan 2008 16:27:47 +0100
Reply-To: Andre Wielki <wielki@INED.FR>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Andre Wielki <wielki@INED.FR>
Subject: Re: Preview Window automatically opens ODS HTML
In-Reply-To: <200801221446.m0MEkagO026535@malibu.cc.uga.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Steven Raimi a écrit :
> I'm using ods html body=fully-specified-file.xls to create an Excel
> spreadsheet from a (middle) portion of a long job (it's running
> interactively under Windows). When the code hits the ods html close
> statement, the interactive environment automatically asks if I want to
> Open, Save, or Cancel. Even if I hit "Cancel", a "Preview Window" opens
> up with text telling me the file couldn't be opened, and suggesting how I
> can view it.
>
> My problem is that the program does not continue until I respond to that
> intrusive dialog opening Preview Window. The file is already saved to
> disk, even when I click Cancel, so Preview is purely counterproductive to
> me. I've looked in sasCommunity.org, the Knowledge Base at the SAS
> Institute, online and my installed SAS help docs, to no avail.
>
> Does anyone know how I could prevent Preview Window being invoked?
> Perhaps some system option, or ods option? Anything, really.
>
> TIA,
> Steve Raimi
>
>
Steven,
double solution
- into sas windows menu tools/options/preference/ RESULTS view in prefered (external) browser
and
ods listing close;
ods noresults;
ods html ....;
code
ods html close;
ods results;
ods listing;
HTH
--
André WIELKI
INED (Institut National d'Etudes Démographiques)
Service Informatique
133 Boulevard Davout 75980 Paris Cedex 20
mél : wielki@ined.fr tél : 33 (0) 1 56 06 21 54
|