This is a sample query for a dataset in my Microsoft Reporting Services Report (.rdl)
SELECT ORDNO FROM INTERFACET.DOPPRMAH
This is connecting to the iSeries via the OLE DB driver from IBM.
How do I ‘parameterize’ the ‘INTERFACET’ part.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You don’t, easily at least… the SELECT is embedded into the RDML file or the report definition file.
These are the 2 workarounds I can think of, create multiple datasets, name one for PROD, the other for TEST. While passing in the environment to utilize into the report as a parameter, the report files know which dataset to use.
The second option would be to generate some custom code and dll’s that configure the RDML file just like you would do with resource files for localization.
If I had my pick, I would probably just go with the multiple datasets…