1.Create DB2 Source definition from DDL of the table.
2.Create the Relational DB2 Connection in the Workflow manager.
3.Get the connection string mapped to correct DB2 URL from your admin.
4.Choose the connection string just created in source properties.
Insert the User-name and password in the Relational connection.
and you'll be able to connect to DB2.