LogParser 2.1 COM object cursor as input

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.

**********
 
B

Bill Stewart

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
 
A

Andrew Aronoff

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

**********
 
A

Al Dunbar [MS-MVP]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top