Output files

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Output files

  • Creator
    Topic
  • #51348
    Vaughn Skinner
    Participant

      Is there a recommended technique for making sure outbound files have only one hl7 message per file?  

      It looks like “append data” needs to be checked to make sure outbound files are not overwritten.  

      I have a “TPS Outbound Data” proc which determines the filename.  Is this proc called for every message when it is written?  Or for every cloverleaf run?

    Viewing 0 reply threads
    • Author
      Replies
      • #69825
        James Cobane
        Participant

          Vaughn,

          The TPS outbound data proc would be called for every message that gets routed to the outbound thread.  You could modify your proc to apply a counter number as part of the outbound filename; i.e. obfile.000001  You can use the Cloverleaf Counter tcl extensions to accomplish this (i.e. CtrNextValue ).  Take a look at these comands in the ‘Reference’ help section.

          Hope this helps.

          J. Cobane

          Henry Ford Health

      Viewing 0 reply threads
      • The forum ‘Cloverleaf’ is closed to new topics and replies.