Date: Mon, 24 Jul 2000 08:07:47 -0500
Reply-To: Kerril Bauerly <kerrilbauerly@TEAMBSI.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Kerril Bauerly <kerrilbauerly@TEAMBSI.COM>
Organization: Primary Network http://www.primary.net
Subject: Re: Creating Graphic Files in Unix to download
Content-Type: text/plain; charset=us-ascii
try putting adding the binary option to your proc download.
Good Luck!
Kerril Bauerly
Best Solutions, Inc.
KC, MO
birdsst@my-deja.com wrote:
> I am using rsubmit to create gplots on a Unix Server. The output is
> sent to an external
> file e.g. graph.html which resides on Unix.
>
> I would then like to download these html files locally before viewing
> them through
> a web browser. My problem is that Unix appears to destroy all
> formatting and once
> downloaded locally the file is unreadable.
>
> For example (partial code)
>
> filename nets "/QS3/modelling/mod2/sb/proj1/dir4/graph.html";
> goptions device=gif733 gsfname=nets gsfmode=replace;
>
> proc gplot data=temp;
> plot x*y;
> symbol i=box;
> run;
>
> proc download
> infile = '/QS3/modelling/mod2/sb/proj1/dir4/graph.html'
> outfile= 'c:\graph.html';
> run;
>
> This creates the file on Unix and successfully downloads it (I have to
> input a value for
> lrecl= in the filename statement in order to remove the "record
> truncated" message when
> dowloading). However when viewing it I just get an empty frame.
>
> I have also tried a CGM driver with the same effect which leads me to
> believe the
> problem is one of how UNIX formats the file.
>
> I guess my question is:- Does anybody know how to create graphical
> output (html or
> cgm) on a Unix server and then download it without destroying it or an
> alternative
> way of doing it. (the datasets are too large to download locally).
>
> Many thanks and regards
> Stephen Birds
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
|