× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Everytime that you run RUNSQLSTM it generates a printout showing what it did
and any errors so you should see it.

The debugging that I see is for the CREATE or ALTER statements and how much
debugging information to include when you create the object. I don't believe
there is any debugging support when running the script through RUNSQLSTM but
you should have the printout and if you run the command with debug on you
will see detailed messages to what it did in the job log.

On Wed, Dec 23, 2009 at 10:07 AM, Tom <tomh@xxxxxxxxxxx> wrote:

We'll give them a call; for now I've written up an SQLRPGLE program which
does essentially the same as RUNSQLSTM (read sql stmts from source, run
'em).

When running the program, I see no messages in WRKACTJOB, 10.

How would I run RUNSQLSTM in debug mode to see what it's doing? I see that
there's a DBGVIEW option on RUNSQLSTM - can I make use of that? Will it
generate a printout of the statements actually being processed, if so
where?

Tom H


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Alan Campin
Sent: Wednesday, December 23, 2009 10:49 AM
To: Midrange Systems Technical Discussion
Subject: Re: Real strange RUNSQLSTM behavior

Just call 1-800-IBM-SERV and give them your customer number and machine
serial number and talk to the database group.

By the way, when you have the error do you look at the underlying messages?
Do you have the program running in debug to see the detail messages?

On Wed, Dec 23, 2009 at 9:42 AM, Tom <tomh@xxxxxxxxxxx> wrote:

Yes, we do

Tom


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Alan Campin
Sent: Wednesday, December 23, 2009 10:26 AM
To: Midrange Systems Technical Discussion
Subject: Re: Real strange RUNSQLSTM behavior

Do you have a service contract with IBM?

On Wed, Dec 23, 2009 at 7:04 AM, Tom <tomh@xxxxxxxxxxx> wrote:


WRKOBJ *ALL/QRY003C - only one found.

Who should I talk to at IBM?

TomH


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.