question about connections

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf question about connections

  • Creator
    Topic
  • #50262
    Kevin Crist
    Participant

    i have a new connection that has been setup to pull in a batch file from our  AFfinity HIS system, there is only one file for it to pull in, and it has a date at the end of it. For some reason when i start the connection now it goes to error and says it cant find the file…bedtracking.20080825. which was from 3 days ago…that has been deleted by a cron and replaced with the daily one that is bedtracking.20080828. is there anything i am missing or have to clear something so it dont keep pulling in the old file. this is my first connection setup so any help or ideas would be appreciated.

    thanks.

Viewing 8 reply threads
  • Author
    Replies
    • #65374
      James Cobane
      Participant

      Kevin,

      Normal processing of an FTP thread in Cloverleaf is that it checks the directory for files, ‘gets’ them, then deletes them from the source.

    • #65375
      Robert Kersemakers
      Participant

      Hi Kevin,

      I have seen this a couple of times. Check your …/exec/processes/  directory for a file called ‘fileset-‘. It should still contain the bedtracking.20080825 file. Just remove this ‘fileset-‘ file and restart the process.

      Hope this helps.

      Zuyderland Medisch Centrum; Heerlen/Sittard; The Netherlands

    • #65376
      Kevin Crist
      Participant

      thank you both very much. both responses were very helpful.

    • #65377
      Kevin Crist
      Participant

      ok, this has led me to a new problem. I am getting an Unsupported Trxid (101) error. i have tried everything in my limited knowledge to fix this but need more help…i am pulling this from HIS system as a single hl7 and passing it through raw. any ideas.

      thanks

    • #65378
      Jim Kosloskey
      Participant

      Kevin,

      Check the TrxID specification in your NetConfig for the Inbound Thread (I think it is on the Inbound Tab).

      Make sure it is NOT HL/7. I usually just leave mine at FRL 0 (zero) start, 0 (zero) offset.

      email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

    • #65379
      Kevin Crist
      Participant

      thanks for the reply jim, i tried your suggestion but to no luck. i feel i am so close but i know it is something simple.

    • #65380
      James Cobane
      Participant

      Kevin,

      What is your trxID determiniation configuration?  Is this a static route?  Also, in looking at your screen shot, I notice your data has x0d, x0a after each segment which is probably going to give you some problems when the engine tries to parse the message – the extraneous a’s after each segment delimiter (x0d) are going to cause you problems as the engine expects the next segment after the x0d.  I suspect you may be getting the file from a Windows machine via ftp; it’s possible the file has the x0a’s already when you pick it up, or that they are getting applied as part of the ftp transfer.  You may want to transfer the file ‘binary’ to keep the integrity of the of the segment delimiters and avoid the automatic conversion of the x0d’s to x0dx0a.   Also, sometimes the invalid trxid error is a misnomer; do an hcidbdump -e -c  to see the true context of the error; it may be an xlate error.

      Hope this helps.

      Jim Cobane

      Henry Ford Health

    • #65381
      Kevin Crist
      Participant

      is there a tcl proc that can take out the “0a” character?

    • #65382
      James Cobane
      Participant

      Kevin,

      You can use a string map command to replace the character:

      set msg [msgget $mh]

      set msg [string map {n “”} $msg]

      msgset $mh $msg

      Hope this helps.

      Jim Cobane

      Henry Ford Health

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

Forum Statistics

Registered Users
5,115
Forums
28
Topics
9,290
Replies
34,422
Topic Tags
286
Empty Topic Tags
10