For cleaning a DataStage repository, we have to go to DataStage Manager > Job in the menu bar > Clean Up Resources.
If we want to further remove the logs, then we need to go to the respective jobs and clean up the log files.