Hello and welcome to the forum,
I suspect this is a class assignment. . .
Where are you stuck?
What is supposed to be used to delete the file? What kind of file is this (qsam, vsam, etc).
Mainframe files do not have "extensions". If your name is longer than 8 characters it cannot be used in the mainframe dataset name.
Hope this helps,