Date: Fri, 22 Aug 2003 10:57:18 -0400
Reply-To: "Fehd, Ronald J. (PHPPO)" <rjf2@CDC.GOV>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Fehd, Ronald J. (PHPPO)" <rjf2@CDC.GOV>
Subject: Re: Renaming a .lst file in batch
uh, let me get your Q straight:
"I'd rather write a kludge to change a text file to a Word doc
than rewrite legacy code
so that it will produce output
to use with ODS rtf.
In which century would you like your job security?
The question is:
What's the most productive way to spend my programming time?
writing hacks or kludges is programming from the bottom up.
Top down is (ultimately) preferred.
Ron Fehd the heads up maven CDC Atlanta GA USA RJF2@cdc.gov
Your task is simple: remove the difference
between how things should be
and how they really are.
-- Ashleigh Brilliant pot-shot #4247
see Friday's quip/day:
> From: Eric [mailto:leavemealone@HOTMAIL.COM]
> I've got a program which creates several listings of various
> types (data null output, procedural output and several proc
> sql queries at the end). After the end of the SAS statements
> I have a Unix command that renames the file to .doc from .lst
> and then emails the file to me (for now while I'm testing).
> The .lst file appears to be incomplete when it is renamed as
> the .doc file does not contain everything in the .lst file.
> Specifically, the .doc file ends mid-sql query. I've tried
> the Unix command "Sleep" with varying lengths of time to try
> and delay things enough for the listing to be completed, but
> so far it's not working. In the meantime I've changed the
> program so that the output is generated using ods html, but
> I'd like to send it as something the recipient can see as an
> attachment and click on it to automatically open it in Word.
> I can't easily use the rtf destination as the program uses
> lots of legacy code using line pointers and such to format
> the output such that when the .rtf file is opened in Word it
> wraps bady even when using landscape orientation and I'd
> rather not play around with all of the spacing.