How do you prevent Encore from deleting dynamically allocated datasets during ENCPARM CLEANUP INITIAL(YES) RESTART(YES) DYNALLOC(YES)
Steps to prevent ESP Restart Option from deleting dynamic data sets on specified volumes during a job restart.
1. Issue ENCPARM VOLUME EXCLUDE command.
2. You can also reverse a prior exclusion of data sets on specified volumes. Issue the ENCPARM VOLUME INCLUDE command.
Example:
ENCPARM IGNOREDS DSN(--.-ABC-)
ENCPARM NODELETE DDNAME(hlq.xxx.xxx)
Note: ENCPARM NODELETE always overrides ENCPARM CLEANUP.