grizlE
01-31-2002, 07:44 AM
I currently have a program that FTPs text files to our FTP server, which happens to be an iSeries (AS/400). Once the FTP is complete, I execute a ADO command, which calls a CL program on our iSeries, which in turn calls several other RPG programs that, among other things prints a report based on the data in the files that were FTP'd. My problem is, I am having trouble finding a way to track the status of what is going on once the ADO command executes.
My first thought was to use a progress bar, but the trouble I am running into is the program stops at the command.execute statement in my code until all of the programs on the AS/400 are done running.
Currently I am thinking about displaying a form similar to the one that displays when copying information from folder to folder. You know, the one with one folder on the left and the other one on the right and shows the document going from the left folder to the right folder. I was going to change the recieving icon to an icon of an AS/400. The problem I am having is I'm not entirely sure how to go about doing that.
One thing to keep in mind is that the program works fine, so I don't want to make any big changes. I am only working on making the interface more meaningful.
If you have any ideas, or know of a better way to accomplish what I am trying to do please let me know.
Thanks!
My first thought was to use a progress bar, but the trouble I am running into is the program stops at the command.execute statement in my code until all of the programs on the AS/400 are done running.
Currently I am thinking about displaying a form similar to the one that displays when copying information from folder to folder. You know, the one with one folder on the left and the other one on the right and shows the document going from the left folder to the right folder. I was going to change the recieving icon to an icon of an AS/400. The problem I am having is I'm not entirely sure how to go about doing that.
One thing to keep in mind is that the program works fine, so I don't want to make any big changes. I am only working on making the interface more meaningful.
If you have any ideas, or know of a better way to accomplish what I am trying to do please let me know.
Thanks!