I use a couple of started tasks that are just IEFBR14's with a series of // COMMAND statements. The fist STC issues shutdown commands for all of the onlines, inits, and monitors. The second issues shutdown commands for major subsystems such as DB2, MQ, TCPIP, RMM, and TSO. The third kills VTAM, DLF, LLA, VLF, etc. The fourth does a F OMVS,SHUTDOWN. I then wait for 'all functions complete' and shoot JES.
That's a total of five commands plus one or two prompts. This seems to work most of the time. Sometimes JES just refuses to go inactive and I just IPL out from under it. Reason is that I have a very tiny IPL window and I have no time to diagnose why JES hung this time. Also, IPL's are quite rare here. The last production IPL was 7 months ago. I use a combination if inline commands and REXX to manage the IPL and start up. The system IPL's to a point between all communications are up but before any application subsystems (DB2, etc). One start command kicks off a series of REXX and other started tasks to bring the system to full operation. HTH and good luck. -----Original Message----- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Mark Pace Sent: Wednesday, January 16, 2008 8:53 AM To: [email protected] Subject: Automated shutdown Is there a way to automate the shutdown of z/OS? I hate having to follow a script, typing all of the commands to stop tasks. Also, is there a command to stop syslogd, other than to cancel it? Thanks very much. -- Mark Pace Mainline Information Systems NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

