Hello Peter,

It is problematic to convert these 300 to native RPGLE
which I know would perform well.

What do you mean by native RPGLE? Using RLA? Using embedded SQL?

 However, if the same transaction is repeated then the
same result can be returned in  about 5 seconds.

What if the Job running the SQL were left running? Say waiting for a request to be placed on a queue?

he can easily create a script that runs all 300 statements on

SQL server in just a few second with no performance problems.
Why is that?


Not sure. Could he be using an asynchronous interface, which returns quickly, even though SQL Server continues to crunch in the background? I used that trick in the past.

-Nathan


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.