First, ensure that the appropriate DB2 drivers are installed on the machine where you're designing the SSIS package. The drivers will allow SSIS to communicate with the DB2 database and that you have the required permissions to read from the DB2 database and write to the SQL Server database.
Then, create a New Connection to the DB2 Database and configure the connection using the appropriate DB2 drivers and credentials.
Create a New Connection to the SQL Server Database and select "OLE DB" as the connection manager type. and configure the connection to your SQL Server database using the correct server name and authentication method.
Create a Data Flow Task and in the data flow designer, drag an "ODBC Source" from the toolbox to the design surface and configure it to use the DB2 connection manager you created earlier.
Add a Destination for the SQL Server Database and choose the destination table or write the SQL query to insert the data into the SQL Server database.
Inside the OLE DB Destination, click on "Mappings" to map the columns from the source to the destination.
You can adjust any transformations or mappings as needed.