Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3668

Comm Channel picks up a file before it is complete causing an alert to be sent

$
0
0

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

  1. Polling interval hits,
  2. PI sees the file,
  3. PI gets the size,
  4. PI waits for the time set in the 'Msecs to Wait before Modification Check' (500),
  5. PI see that the size has changed, raises and error and schedules a retry based on the 'Retry Interval' parm,
  6. retry time is met and PI starts at (3)
  7. 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?


Viewing all articles
Browse latest Browse all 3668

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>