LogParser 2.1 COM object cursor as input

  • Thread starter Thread starter Andrew Aronoff
  • Start date Start date
A

Andrew Aronoff

I'm using LogParser 2.1 as a COM object under W2K SP4 via VBS scripts.

Here's the simple code that's used to instantiate the log query and
record set COM objects:

Set oLogQ = WScript.CreateObject("MSUtil.LogQuery")

strSQL = some_valid_sql_string_here

Set oRS = oLogQ.Execute(strSQL)

I'd like to be able to re-execute Log Parser using the oRS record set
as *input*. Is there a way to do this?

regards, Andy

**********

The X's have been added to my email address to thwart spam.
Take them out to reply.

**********
 
Andrew Aronoff said:
I'm using LogParser 2.1 as a COM object under W2K SP4 via VBS scripts.

This newsgroup is really for cmd scripting. Try re-posting in a WSH or SQL
newsgroup.

Regards,

Bill
 
Try re-posting in a WSH or SQL newsgroup.

They're not likely to know much about Log Parser and the question is
specific to Log Parser, not WSH or SQL.

regards, Andy

Bill Stewart said:
This newsgroup is really for cmd scripting. Try re-posting in a WSH or SQL
newsgroup.

Regards,

Bill

**********

To reply by e-mail, send to usenet d0t post at aaronoff d0t com

**********
 
Andrew Aronoff said:
They're not likely to know much about Log Parser and the question is
specific to Log Parser, not WSH or SQL.

It may not be specific to WSH or SQL, but it is even *less* specific to cmd
scripting. Hey, I am quite familiar with WSH, and have dabbled with ADO (and
a few other types of) queries, but I have *no* idea how one would go about
instantiating objects natively in a batch file.

/Al
 
Back
Top