In JCL after EXEC PROC statement you can give the override
//PROC EXEC your_proc,
// OUTD1=*
//STEP010.dataset DD DSN=your_data_set_name, DISP=(OLD,DELETE,DELETE).
The MOD,DELETE,DELETE will ensure that if that dataset was present it gets deleted, and if it was not present it will still go ahead without stopping the process.
OLD,DELETE,DELETE will cause the process to stop if the dataset is not present at the start of teh JCL, right? Is that what you want?
Three symbolic parameters are defined in this cataloged procedure: &STATUS, &LIBRARY, and &NUMBER. Values are assigned to the symbolic parameters on the PROC statement. These values are used when the procedure is called and values are not assigned to the symbolic parameters on the calling EXEC statement.