AGJ3CSI. Can I delete the CSI I created previously from my first run of job?

Document ID : KB000110108
Last Modified Date : 09/08/2018
Show Technical Document Details
Question:
The installation job AGJ3CSI defines the CSI data set. 
Can I now delete the CSI dataset that was created previously, that is prior to the AGJ3CSI job being run?
If so, do you have sample jcl that will delete the SMP/E CSI?
 
Answer:
Yes you can delete the CSI that was created previous to running the AGJ3CSI installation job because it defines the CSI data set. 
Below is some sample jcl you can use to delete the unwanted CSI data set.

=============================== T O P ========================== 
//DEFINRW EXEC PGM=IDCAMS 
//SYSPRINT DD SYSOUT=* 
//SYSUDUMP DD SYSOUT=* 
//AMSDUMP DD SYSOUT=* 
//SYSIN DD * 
DELETE BARRA01.CLEANUP.DIST.CSI CLUSTER 
//* 

============================ B O T ==========================  


 
Additional Information:
https://docops.ca.com/ca-idms/19/en/installing/installation-and-maintenance-for-z-os/installing-your-product-from-pax-enhanced-esd/install-products-using-native-smp-e-jcl