Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Optimize Excel Download

Former Member
0 Likes
631

i have this program to optimize.

months before, it was just a simple program that displays report through a couploe of WRITE statements.

later, somebody was given a task to download the output into an excel file.

it was done BUT, it runs toooooooooooo slow now.

for 20 employees, the program runs for more than 22 minutes.

i was now assigned to optimize the program.

now it runs 5 minutes for 20 employees processed.

i am not satisfied.

not at all.

coz in production, thousands of employees may sometimes be processed.

what advise can you guys give me on these kind of matters: excel downloads.

the only thing i did right now is not rewrite the program but i just added "NO FLUSH" in some of the OLE calls. then i called the function "FLUSH" at the end. 22 minutes down to 5 minutes (on 20 pernrs) is a big improvement but that is just not acceptable, still.

any advise would be appreciated. tnx.

i have this program to optimize.

months before, it was just a simple program that displays report through a couploe of WRITE statements.

later, somebody was given a task to download the output into an excel file.

it was done BUT, it runs toooooooooooo slow now.

for 20 employees, the program runs for more than 22 minutes.

i was now assigned to optimize the program.

now it runs 5 minutes for 20 employees processed.

i am not satisfied.

not at all.

coz in production, thousands of employees may sometimes be processed.

what advise can you guys give me on these kind of matters: excel downloads.

the only thing i did right now is not rewrite the program but i just added "NO FLUSH" in some of the OLE calls. then i called the function "FLUSH" at the end. 22 minutes down to 5 minutes (on 20 pernrs) is a big improvement but that is just not acceptable, still.

any advise would be appreciated. tnx.

2 REPLIES 2
Read only

Former Member
0 Likes
585

Hi,

Instead of ole , you Create a job for downloading of program.So how much time it will take it won't be problem for u. OLE applications will obviously more time because they need to interact with 3rd party tool.

Read only

0 Likes
585

hi subas bose,

i didn't quite get what you mean.

could you rephrase your words?

if i don't use ole, how do i do the excel download?

tnx,

laure