Ok, I do not usually use xlates (I prefer tcl), but I am trying to modify and existing xlate to write the MSH.10 field (unique message number) to the driver control to set the outbound filename. I have copied the MSH.10 field to a temporary variable called
@MSH10.
I have the following code so far, what value is in the xlateInVals? Is that what is specified in the xlate source for this action (I'm guessing yes.)?
upvar xlateId xlateId
xlateInList xlateInList
xlateInTypes xlateInTypes
xlateInVals xlateInVals
xlateOutList xlateOutList
xlateOutTypes xlateOutTypes
xlateOutVals xlateOutVals
set filename [lindex $xlateInVals 0]
msgmetaset $mh DRIVERCTL "{FILESET {{OBFILE $filename}}}"
Thanks!
Jerry