Why doesn’t this wild card route work?

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Why doesn’t this wild card route work?

  • Creator
    Topic
  • #50379

    Here’s the message …

    Code:

    msg: 0x3000003c
       msgType           : DATA
       msgClass          : ENGINE
       msgState          : Unsupported Trxid (101)
       msgPriority       : 5120
       msgRecoveryDbState: 3
       msgFlags          : 0x8002
       msgMid            : [0.0.371832]
       msgSrcMid         : midNULL
       msgSrcMidGroup    : midNULL
       msgOrigSrcThread  : bnd03hmm_in
       msgOrigDestThread :
       msgSrcThread      : bnd03hmm_in
       msgDestThread     :
       msgXlateThread    :
       msgSkipXlate      : 0
       msgSepChars       :
       msgNumRetries     : 0
       msgGroupId        : 0
       msgDriverControl  :
       msgRecordFormat   :
       msgRoutes         :
       msgUserData       :
       msgStaticIsDirty  : 0
       msgVariableIsDirty: 0
       msgTimeStartIb    : 1223649274.173
       msgTimeStartOb    : 1223649131.199
       msgTimeCurQueStart: 0.000
       msgTimeTotalQue   : 0.091
       msgTimeRecovery   : 1223649274.346
       msgEoConfig       : 0x0
       msgData (BO)      : 0x30000120
       message           : ‘MSH|^~&|MEDS||PYXIS||20081010093433||ADT^A31|MM081010093433407286|P|2.2|407286||||x0dEVN|A31|20081010093433|||ADTx0dPID|0001|500455|||BHCTEST^**BABY**||20081010|M|||LAKE^^BONO^MO^54554||||||||||||||||x0dPV1|||^|||^|^|^|||||||||^|||||||||||||||||||||||||||||||||x0dOBX|1|ST|1010.1^WEIGHT|||KG||||||||||x0dOBX|0|ST|1010.3^HEIGHT|||CM||||||||||x0d’

    -- Max Drown (Infor)

Viewing 4 reply threads
  • Author
    Replies
    • #65854

      Interesting, changing the route to ADT_A.* seemed to work.

      -- Max Drown (Infor)

    • #65855
      Steve Carter
      Participant

      ADT_A*

      The asterick indicates zero or more occurences of the previous character.  It doesn’t indicate ‘anything’ after the ‘A’.  That’s why ADT_A.* will work.  It matches zero or more occurences of any characters following the ‘A’.

      This may not be a good way to explain it, but it’s how it works.

      I’m sure someone will correct me if I’m wrong.

      Steve

    • #65856
      Tom Rioux
      Participant

      Steve is correct.  The period is telling it to match “any character” and the asterisk is telling it to match zero or more instances of the “previous pattern”…which in this case is the wildcard period.

      Thanks…

      Tom Rioux

    • #65857

      I get it now. I misunderstood what Cloverleaf means by “wildcard”. Thanks for the feedback!

      -- Max Drown (Infor)

    • #65858
      Jim Kosloskey
      Participant

      Yeah – they don’t mean what everyone understands as wild card – they mean regexp.

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

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

Forum Statistics

Registered Users
5,125
Forums
28
Topics
9,294
Replies
34,439
Topic Tags
287
Empty Topic Tags
10