Skip to Content
avatar image
Former Member

File Processing after PI downtime

Hi Experts,

I  am working on File interface where i will process the files based on current date. I have a UDF which will validate the file on  filename and process it. if in case of one day downtime i will miss the day and again when server is up it will check for the current day files and skip the previous day files.

how can i process this previous day files in PI. I cannot change any thing on ESR as that will be in QAT.

Thanks,

Pooja

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Jan 16, 2013 at 01:06 AM

    One option is, maintain downtime dates in value mapping and use in your UDF/mapping accordingly. Only thing is you have to update value mapping each time you have planned down time.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 16, 2013 at 05:16 AM

    I believe your udf is comparing date in file name with current system date and processing it , can you please give significance of the date in your scenario ??

    if date in file name is not having much significant  and you need to process previous day's file, just create a script in system to rename the file with current date, by this you need not to do any change in PI.

    but the best way is understand the impact of processing previous day file and make appropriate change in your scenario.

    Add comment
    10|10000 characters needed characters exceeded