Forum Discussion
Kris__109062
Sep 09, 2013Nimbostratus
Replace SID to SERVICE_NAME in Oracle connnection string
Hi,
I am trying to replace SID with SERVICE_NAME in an Oracle connection string using an irule on an F5 Oracle VS. I have used as a starting point the irule documented here - https://devcentral.f5....
hooleylist
Sep 09, 2013Cirrostratus
Can you try regsub instead of regexp?
http://www.tcl.tk/man/tcl8.4/TclCmd/regsub.htm
regsub -all {(SID=MYSID)} [TCP::payload] SERVICE_NAME=MYSERVICENAME $new_payload
TCP::payload replace 0 [TCP::payload length] $new_payload
Aaron
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects