Compare files using IPA

Sort:
You are not authorized to post a reply.
Author
Messages
Nabil
Veteran Member
Posts: 61
Veteran Member

    Hello

     

    Is there any way to compare two dumps of the HRSUPER table? I'm creating a flow that modifies the Manager access and need to compare today's output to yesterdays for any changes. 

     

    Thank you,

    Nabil

    JimY
    Veteran Member
    Posts: 510
    Veteran Member
      How are you storing the dump's? I would think you could store yesterdays dump in a Sql Table and then have your flow read that table sequentially then use that to build the key to read the current table. You could then compare the values. You could also store yesterday's data in a comma delimited file and read it.
      Nabil
      Veteran Member
      Posts: 61
      Veteran Member
        Do you suggest doing that using the File Iterator node?
        JimY
        Veteran Member
        Posts: 510
        Veteran Member
          Yes, if your previous days file is delimited. You could use the dataIterator node to read that and then place your Sql query node inside of the loop.
          SWilkins
          Advanced Member
          Posts: 28
          Advanced Member
            We do something similar in that we have an additional database with copies of a few production tables. Once a day IPA runs a SQL query to compare the tables in production and the alternate database. If differences are noted an email is sent and the copy table is refreshed with then current production data.
            You are not authorized to post a reply.