On Mon, 11 Apr 2011 11:53:27 +0800, ibmnew <[email protected]> wrote: > Thanks for your help.
You're welcome >Could you share your SHUTSYS STC to me? It is basically the same thing, but in z/OS 1.10 I split out the shutdown PDS member at the end so I can have a "REIPL" option. //SHUTSYS PROC REIPL=N //********************************************************** //* COMMAND IS FROM CBT FILE 019 - HTTP://WWW.CBTTAPE.ORG //* INSTALL PDS AND DOC IS IN MTSYS2.COMMAND.CBT.FILE019 //********************************************************** //SHUTSYS EXEC PGM=COMMAND,TIME=1439 //STEPLIB DD DISP=SHR,DSN=authorized.loadlib //IEFRDER DD DISP=SHR,DSN=sandbox.parmlib(SHUT&SYSNAME.) // DD DISP=SHR,DSN=sandbox.parmlib(SHUT&SYSCLONE.&REIPL.) As mentioned in an earlier post, I start it with SUB=MSTR so it can shut down JES2 and then issues the V XCF command prior to stopping itself. I start it as "S SHUTSYS.SHUTSYS,SUB=MSTR,REIPL=Y" when I want to REIPL with the previous load address / parms. AUTOIPL must be configured (and supported by the HW) in DIAGxx for this. I had our automation team set up something similar in our automation product for production. If you can shut your system down manually, you can script it with the COMMAND program. Regards, Mark -- Mark Zelden - Zelden Consulting Services - z/OS, OS/390 and MVS mailto:[email protected] Mark's MVS Utilities: http://www.mzelden.com/mvsutil.html Systems Programming expert at http://expertanswercenter.techtarget.com/ *** Please note the new URL for Mark's MVS Utilities *** ---------------------------------------------------------------------- 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

