Posted: Tue Apr 17, 2012 1:00 am Post subject: Using WTX with WMB
Acolyte
Joined: 25 May 2011 Posts: 53
Hi, I am using WTX 8.3 and WMB 7.0. I am using a DBLOOKUP query in WTX by passing the parameters as below.
DBLOOKUP ( "SELECT DISTINCT Clmn1 FROM Table1 WHERE Clmn2 LIKE '"+ABC+"' AND MSG_STAT_CD LIKE 'XYZ%'","-DBTYPE ODBC -SOURCE <Datasourcename> -USER <username> -PASSWORD <password>" )
The above query is working for me. But I want to implement the same using a ".mdq" file as I cannot change the username and password for every environment.
You should be on later versions of the software you are using. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
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