# Deleting a resource

You can delete a file in the Remote Systems view or the z/OS Projects view.

About this task
To delete a resource, do these steps:

1. In the Remote Systems view or the z/OS® Projects view, right-click the resource you want to delete and click Delete.
2. When you are prompted to confirm the deletion, click Delete. The resource is deleted. When you delete a generation data group, all generation data sets in the GDG are deleted and then the GDG base is deleted.

Parent topic: Viewing and working with generation data groups