Date: Wed, 8 Apr 2009 10:40:13 -0700
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Suzanne Humphreys <suzanne.humphreys@GMAIL.COM>
Subject: Re: Reading the Log files.
Content-Type: text/plain; charset=ISO-8859-1
I wrote a paper on a similar topic that might be helpful:
Perhaps give it a read and if it's useful and you have futher
questions let me know.
On Apr 8, 9:42 am, michaelrait...@WESTAT.COM (Michael Raithel) wrote:
> In the future, please respond to my SAS-L posting on SAS-L; not via private=
> email. That allows everybody on the 'L to follow the discussion. If you =
> want to talk about other cool stuff; such as whether Pink Floyd was better =
> after Syd Barrett left, whether or not soap can actually get dirty, the onl=
> y real word that can be spelled out by rearranging the letters in "SAS", or=
> the price of sugar in Cuba, then go ahead and contact me privately.
> I do not think your approach is a good one. I think that you should handle=
> each log file by itself:
> 1. Read a log file
> 2. Look for the error message
> 3. If you find the error message, write out the name of the log file
> 4. Go back to #1
> The code that I sent to you will help you to do #1 and #4. The code for lo=
> oking for a text string should be easy to write--see the INDEX function. O=
> nce you find an error message, you can easily write out the name of the log=
> file, since you have it handy via the methods outlined in the aforemention=
> ed papers.
> Take Care!
> (aka Michael A. Raithel)
> -----Original Message-----
> From: Kottamasu Satish [mailto:kottamasu.sat...@gmail.com]
> Sent: Wednesday, April 08, 2009 12:32 PM
> To: Michael Raithel
> Subject: Re: Reading the Log files.
> Hi Machael,
> Thanks for your suggestion, I did in the same way while reading the externa=
> l log file with the infile satatement by using the wild cards, the only pr=
> oblem is I am able to read all the log files into one data set, problem ari=
> sing in finding the unwanted messages belongs to which log file, sorry inca=
> se I am not clear.
> Could you please give an example solution if possible.
> Satish.- Hide quoted text -
> - Show quoted text -