why is my CGI RPGLE program showing old data until it is re-compiled?
Posted on 2007-10-09
I have a CGI RPGLE program that serves a web page getting data from a KRONOS (Iseries timekeeper) file. The program works fine until we run the KRONOS payroll process, where the transactions change to a status not valid for the data selection in the program. The file I am reading is a simple logical with a select/omit specification to select only unposted transactions (a blank in a certain field, which shouldn't be making any difference in my program's performance). However, once the process has been run, my CGI program shows old information!!. I mean it does not break or produce any error, but just shows the data like if it hasn't been updated!... And it gets fixed after I re-compile the program!... Now, is that weird or what?....(We have OS/400 V5R3M0 and KRONOS version 4.10)