We have several programs that were reading a file to get the data needed. We are switching this over to calling a webservice to get the data. I built a service program to get my data from the webservice(Thanks Scott Klement for HTTPAPI). I even put a procedure in the service program to dump the data to a temp table(same name as the file I was reading originally). There are not CL's calling all of the programs so I can't pre load the temp table with the data before opening the program. I just want to figure out where I can call the service program to load the file, and I would really like to not rewrite all of these programs. Thoughts?
* Is there a way to hook into the cycle before files are opened? Only entry point I know of is *INZSR and I am not sure it is before files are opened or not.
* I could usropn the files... a little more than I really wanted to do. Just lazy.
I am hoping for something amazing!
* Is there a way to hook into the cycle before files are opened? Only entry point I know of is *INZSR and I am not sure it is before files are opened or not.
* I could usropn the files... a little more than I really wanted to do. Just lazy.
I am hoping for something amazing!
Comment