Re: tcl command…

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf tcl command Re: tcl command…

#59527
Anonymous
Participant

    This is where knowing your data comes into play.  If the field will ever have a space, then you are correct, the list command should be used.  I was assuming that the field would never have a space in it.  

    That raises however a good scenario and question that we may would like to get some opinions on.  Lets suppose we knew the data should never have a space in it.  If the data came across with a space, the we knew it would be an obvious error.   If we use the list command, then we risk delivering a message to the ancillary system with bad data.  If we use the method I employed, then that message fails on the engine.

    The question is this:  Do we want to deliver bad data to the ancillary systems?  Is it their job to validate the data and not the engines?  

    I have a similar situation on a charge interface.  If the data within the field in question is not as expected, the message fails and an email is sent to the users of the sending of system.

    I’d like to know how others may be handling this situation.

    Thomas G. Rioux

    The Methodist Hospital.