For details and more guidance regarding use of the SHUTDOWN command, see these links:
Contains syntax and general usage
https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-mainframe-software/traditional-management/ca-mim-for-z-os/12-5/statement-and-command-reference/general-ca-mim-statements-and-commands/mim-shutdown-command-stop-ca-mim.html
Special considerations for local shutdown
https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-mainframe-software/traditional-management/ca-mim-for-z-os/12-5/programming/ca-mim-programming/ca-mim-advanced-topics/product-termination-considerations/local-shutdown-processing.html
Special considerations for global shutdown
https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-mainframe-software/traditional-management/ca-mim-for-z-os/12-5/programming/ca-mim-programming/ca-mim-advanced-topics/product-termination-considerations/global-shutdown-processing.html
Special considerations for MIA
https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-mainframe-software/traditional-management/ca-mim-for-z-os/12-5/best-practices/best-practices-for-ca-mia-configuration/limit-shutdown-free.html
For details and guidance when using the STOP ('P') command