Originally posted by: TarunB
There doesn't appear to be an option in TX for this, apart from the ini file.
If you were using Oracle I would recommend NOWAIT. Prior to 11g the SQL call dropped out immediately following a lock situation (for Update). In 11g it allows specification of a time period before dropping out.
In DB2 you can use the LOCK TIMEOUT functionality but this might not be specific enough for your needs. Though you could be cheeky and SET CURRENT LOCK TIMEOUT just before your query execution and then SET it back after :-)
If you really need to control it at a map rule/query level, you could design something along the lines of:
1) Have locktimeout set to n seconds, or just work with whatever it is set at if you can.
2) Execute map/query.
3) Check return code.
4) If successful, end map.
5) If timed out, call query again.
6) Repeat 2 - 5 until you reach your required timeout level.
#DataExchange#IBMSterlingTransformationExtender#IBM-Websphere-Transformation-Extender