- This topic has 2 replies, 2 voices, and was last updated 15 years, 3 months ago by .
-
Topic
-
proc add_one_minute {} { upvar xlateId xlateId
xlateInList xlateInList
xlateInTypes xlateInTypes
xlateInVals xlateInVals
xlateOutList xlateOutList
xlateOutTypes xlateOutTypes
xlateOutVals xlateOutVals
lassign $xlateInVals time
#set time $xlateInVals
set time1 [string range $xlateInVals 0 7]
set time2 [string range $xlateInVals 8 11]
set format “%Y%m%d%H%M”
echo $time
set time [clock format [clock scan “+1 minute” -base [clock scan “$time1 $time2”]] -format $format]
set xlateOutVals $time
}
> _oru_new.xlt /quovadx/qdx5.4/integrator/rad_prod/rad_err_0529 < MESSAGE 1 200905290046 Tcl callout error erroCode: NONE errorInfo: unable to convert date-time string “20090529 0046” while executing “clock scan “$time1 $time2″” (procedure “add_one_minute” line 10) invoked from within “add_one_minute”
any reason why it doesn’t like the hour between 0000 to 0059?
- The forum ‘Cloverleaf’ is closed to new topics and replies.