It's been awhile! I'm glad to see you're doing well!
We had a similar situation & have -STO DDF MODE(SUSPEND) CANCEL(5)
It works well for us. There's a wait step, then a force DDF stop step..... If the gentle way doesn't work, we go for the sledge hammer!
Best of luck
If you have a tool that can change dynamically ZPARM values you can lower DSMAX to, say, 20000, some time before shutting down DB2.
Alternatively you could activate another ZPARM module with a lower DSMAX value.
This way you start closing a subset of VSAM dataset and you have to wait less time on shutdown.
Mauro Moschelli Intesa Sanpaolo
There are 10 types of people: those who understand binary and those who don't