Originally posted by: SystemAdmin
It is possible to create an input card for your map that has the SQL statement to be called. You would need a Target with a DBQUERY function. You could then write the rule as follows:
=DBQUERY(Blob1, "%DB_Parameters%")
In the Resource file for each server, you would need a "DB_Parameters" entry that would contain either the Data Source information or MDQ information for that server. This would allow you to not have to compile anything into the map itself or rely on the MDQ for the query handling. I prefer to use a Data Source setting in these cases to avoid the map having to open the MDQ to get the username/pw for the db. It's more efficient.
#IBM-Websphere-Transformation-Extender#IBMSterlingTransformationExtender#DataExchange