Error Message Question

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Error Message Question

  • Creator
    Topic
  • #51416
    Ariba Jones
    Participant

      We recently had an issue with a production interface on Cloverleaf.  This interface is setup with the inbound thread as protocol:fileset-Local.  There is a kornshell script that ftp’s to the sending system and picks up a file.  That file is then put on Cloverleaf in a directory to be picked up and sent through the outbound thread (which is tcp/ip protocol) to the receiving system.  

      The other day the inbound thread had a status of ‘error’ on Cloverleaf and the error message said “cannot open for reading:

      Text file busy”.  Does anybody know what this means?  When the file was received on the receiving side, it was not a complete file.  The file only contained about half of the actual data it should have contained.

      Thanks in advance.

      Ariba

    Viewing 2 reply threads
    • Author
      Replies
      • #70199
        James Cobane
        Participant

          Ariba,

          That would indicate that the file was being written to while the thread was attempting to read it; which would be why you only see a partial file.  You may need to change the timing of your thread reading the file.

          Hope this helps.

          Jim Cobane

          Henry Ford Health

        • #70200
          David Harrison
          Participant

            Ariba,

            I

          • #70201
            Ariba Jones
            Participant

              James and David,

              Thanks so much for the responses.  I was thinking the same thing…the file must have still been in the processing of being written to.  I was told that the system that creates the file gives the file a name while it creates the file and then something is done on that system to rename the file to the file name that my kornshell script is looking for.  With that said, I expected that my kornshell script should not pick up the file that it is looking for until the file was complete.  

              This just occurred the last time the interface was run.  This interface has been in place for a couple of years now.  I had not seen this error with it before.  

              As suggested, I will adjust the timing of my kornshell script and see what happens the next time this runs.

              Thanks!!  Your suggestions were helpful.

              Ariba

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