Python: Create and Test PowerCenter Connections
Posted by: Utkarsh Kumar
Python Script to create and test the connection for PowerCenter. It is supported on Windows and Linux.
Overview
In PowerCenter, after creating the connection for any relational database, we can not test immediately. We need to run a session using the connection to confirm that the connection settings are valid. Using this python script we can create a connection for Oracle, Sybase, Teradata database and immediately test it for errors. Inputs
- Connection_settings.txt
- The file is used to provide the information about the repository and the connection to be created. Provide the information in the format as specified in the file. Only one connection is supported per run. Unused connection types should be commented.
- Evn_settings.txt
- The script will create the connection and display the success or failure
- The script will run the test workflow and display the success or failure status of the workflow
Features
- PowerCenter 9.5.1, PowerCenter 9.6.1, Python