Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

IPCC Express - Programatically change db Datasource name in script.

Hello - is there a way to programatically change the database Datasource name for database Read step in the script? The read step has a pre-populated dropdown list of datasource names which I assume come from the defined names in the system. I would like to be able to dynamically point to either TEST or PROD database (table names identical, DSN is different).

Thanks!

Mary

4 REPLIES
New Member

Re: IPCC Express - Programatically change db Datasource name in

New Member

Re: IPCC Express - Programatically change db Datasource name in

I looked at the link but found nothing that addressed the datasource names.

New Member

Re: IPCC Express - Programatically change db Datasource name in

Why don't you try a SWITCH or IF step and have 2 DATABASE READ steps each one with a different DSN depending on the condition of the SWITCH or IF step.

New Member

Re: IPCC Express - Programatically change db Datasource name in

Thank you for the suggestion. That would definitely work but I was hoping for something that might be a little "cleaner" since we have a couple of sripts that read/write to quite a few tables.

120
Views
0
Helpful
4
Replies