Using Fileset-local protocol to append to a file

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Using Fileset-local protocol to append to a file

  • Creator
    Topic
  • #52666
    Jon Blanchard
    Participant

      This is for Qdx 5.6 on a linux server.

      When using the Fileset-local protocol to append records to the end of a file (without using any Tcl procs), specifically HL7 messages, does the thread keep the file open or close/release the file and reopen it later when there is something to write, or is a Tcl proc necessary for this type of file access management?

      One of our facilities has an issue where an outside system does an FTP grab on the file, but the data doesn’t cross over; this behavior is not consistent over any specific period of time.  I am still in the preliminary stage of investigation on this issue, but wanted to know more about the engine’s behavior to prepare for any future discussion.

      Thanks in advance for your response.

      Migration Consultant
      Coffee Regional Medical Center
      Eastern Time Zone

    Viewing 1 reply thread
    • Author
      Replies
      • #75051
        Rehman Masood
        Participant

          I dont know if it remains open or not, but it is certainly locked by the process. We have a couple fileset-local’s and we are bouncing the thread to move the file out of there.

        • #75052
          Jim Kosloskey
          Participant

            Because of the potential of ‘file collisoin’ we tend not to use the Fileset/Local with append.

            Instead we utilize one message per file and the receiving system then can pick up all of the messages when it gets all of the files. There is still a potential of a collision (if the receiving system doesn nothing to try and determine if the last file listed is still in flight) but the potetntial is lessened.

            email: jim.kosloskey@jim-kosloskey.com 30+ years Cloverleaf, 61 years IT – old fart.

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