I don't see how this will help. Variable movementType is set by looking down the Environment.Variables.SQL.Translation[] tree to find a match. I can't forecast where in the tree I'll get a match. Coding
would imply that I know the position. Perhaps I've misunderstood your intentions? Can't find anything in the Help about an 'index table'. Thanks again.
Joined: 18 Jul 2002 Posts: 381 Location: Gurgaon, India
By running user trace can you tell me how much time the following line of code takes :
Code:
SET movementType = THE (SELECT ITEM T.TO_CODE
FROM Environment.Variables.SQL.Translation[] AS T
WHERE T.FROM_CODE = MyPointer.MOVEMENT_TYPE
AND T.TT_ID = 2);
_________________ Shalabh
IBM Cert. WMB V6.0
IBM Cert. MQ V5.3 App. Prog.
IBM Cert. DB2 9 DB Associate
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum