Try this:
# this is your string
set x {omppclb> error: fialed due to mismatch of values Existed value : 20000 expected value: 40000 omppclb>}
# set variable to hold everything in between omppclb> and omppclb>:
set inBetween ""
# get your data:
regexp {omppclb>([^<]*)omppclb>} $x n inBetween...
I'm new to tcl.
I need to call oracle stored procedure that has two inputs and two outputs. I know how to retrieve result set, but I'm not sure how to retrieve two outputs with tcl. I tried:
set theQuery "{call storedProcedureName($Input1, $Input2, ?, ?)}"
set theQuery [list [list $theQuery]]...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.