We are using PI 7.4 and Sol Man 7.1 SP14
We have a number of scenario where PI is polling for a file the problem is it picks it up before it is complete.
We have looked at renaming the fiIe when it is complete and have PI poll for the renamed name. This works in some of our scenarios but not all. One such scenario is a standard FSCD payment mass activity job. To rename the file I would have to modify the standard program. I'm wondering if there is another way to resolve my issue.
We have tried the 'Msecs to Wait before Modification Check' parm
- Polling interval hits,
- PI sees the file,
- PI gets the size,
- PI waits for the time set in the 'Msecs to Wait before Modification Check' (500),
- PI see that the size has changed, raises and error and schedules a retry based on the 'Retry Interval' parm,
- retry time is met and PI starts at (3)
- if the file size has not changed the file is processed
Normally the file is complete when the first retry attempt has completed. This fixes the incomplete file issue for the most part.
The problem is the error raised in PI sends an alert to Sol Man which sends a 'page' notification to a phone that is monitored 24/7. By the time the person oncall receives the page and gets online the scenario has long since completed successfully.
Is there a way in PI to check to see if the file has been closed prior to picking up the file?
Normal program:
file is opened
loop
some processing is done
record written to file
end loop
close file
Is there a way to stop these nuisance page notifications?