ADCD also comes with startup/shutdown STCs. Mine for example, looks like this (and as you can see uses a control file out of PARMLIB):
BROWSE ADCD.ZOSV1R5.PROCLIB(SHUTDOWN) - 01.00 Line 00000000 Col 001 080 Command ===> Scroll ===> CSR ********************************* Top of Data ********************************** //SHUTDOWN PROC M=SHUTDOWN,PREFIX=NONE <== Change as required //VTAMAPPL EXEC PGM=VTAMAPPL,PARM='COMMANDPREFIX=&PREFIX', // REGION=512K,TIME=1440 //STEPLIB DD DSN=ADCD.ZOSV1R5.LINKLIB,DISP=SHR //PARMLIB DD DSN=ADCD.ZOSV1R5.PARMLIB(&M),DISP=SHR //SYSABEND DD SYSOUT=H,HOLD=YES David Logan -----Original Message----- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Mark Zelden Sent: Wednesday, January 16, 2008 9:24 AM To: [email protected] Subject: Re: Automated shutdown On Wed, 16 Jan 2008 09:53:24 -0500, Mark Pace <[EMAIL PROTECTED]> wrote: >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. Of course there are automation products that you can by to take care of this. There some free ones on the CBT also. TSSO, COMMAND. Even though we have an automation product, all my sandbox LPARs use COMMAND from CBT file 19 (http://www.cbttape.org). I start the scripts from an STC that runs SUB=MSTR so it can even shutdown JES2 and issue V XCF,sysname,OFFLINE. I use COMMAND on my sandbox LPARs for 2 reasons. One: the automation group "controls" the automation products. Two: less overhead - quick, simple, easy to change. > >Also, is there a command to stop syslogd, other than to cancel it? > On Wed, 16 Jan 2008 09:28:28 -0600, Stephen Wolf <[EMAIL PROTECTED]> wrote: >The CBT tape has many MPF exit examples for automation and of course >the "AUTO" command. > >For syslogd shutdown look at IBM site for the z/OS UNIX tools for BPXSTOP. While BPXSTOP could still be used, it's better these days to use F BPXOINIT,SHUTDOWN=xxxx commands or to shutdown OMVS completely with F OMVS,SHUTDOWN. See the Unix System Services Planning manual for details. I think BPXSTOP would cause a problem in a share HFS / zFS environment also. Mark -- Mark Zelden Sr. Software and Systems Architect - z/OS Team Lead Zurich North America / Farmers Insurance Group - ZFUS G-ITO mailto:[EMAIL PROTECTED] z/OS Systems Programming expert at http://expertanswercenter.techtarget.com/ Mark's MVS Utilities: http://home.flash.net/~mzelden/mvsutil.html ---------------------------------------------------------------------- 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 ---------------------------------------------------------------------- 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

