I have passed this along to a couple of you but Zack suggested I post this and see what response I get.
This code reads against our mainframe and what it looks like it does is read a screen for data. There are 4 distinct loops. I am sure that the mainframe pulls the data from tables but cannot figure what tables they are getting them from. Worst case scenario, can this code be made to run cleaner and faster? Presently it takes over 5 hours to "scrape" the data. Does it have something to do as well with the server speed and traffic? Thanks in advance for any help.