Dear Mark Thanks for your help.
I got it. Could you share your SHUTSYS STC to me? As you said that someone else mentioned an MPF exit. Could you tell me how to mention an MPF exit and the STC triggered by the message? Thanks a lot! Best Regards, Jason Cai 发件人: Mark Zelden 发送时间: 2011-04-08 22:10:10 收件人: IBM-MAIN 抄送: 主题: Re: How to start RMF Monitor III automatically after IPL the system. On Fri, 8 Apr 2011 16:46:11 +0800, ibmnew <[email protected]> wrote: > do I prepare a proc and put COM='S RMFIII' statement in the COMMND00 >after COM='S RMF.RMF,,,MEMBER(00)' statement > > //RMFIII PROC > //COMMAND EXEC PGM=COMMAND > //IEFRDER DD * > D R,R > DELAY 10 > F RMF,START II In my sandbox LPARs I have 2 STCs - STARTSYS and SHUTSYS. These are procs that execute the COMMAND program and get their input from parmlib members. You could continue to put COM='S RMF.RMF,,,MEMBER(00) in your COMMNDxx member and do the F RMF,START III from a COMMAND STC, but I put just about everything in my "STARTSYS" process. The only things in COMMNDxx are things started SUB=MSTR and "STARTSYS" itself. Although there is no reason a COMMAND STC can't run SUB=MSTR and as a matter of fact, I run it that way at shutdown so it can shutdown JES2 before it does a VARY XCF OFFLINE and shuts itself down. Example COMMNDxx: COM='TRACE ST,128K' COM='START JES2,PARM='WARM,NOREQ'' COM='START VLF,SUB=MSTR' COM='START RRS,SUB=MSTR' COM='START STARTSYS.STARTSYS' Example STARTSYS proc: //STARTSYS PROC //********************************************************** //* COMMAND IS FROM CBT FILE 019 - HTTP://WWW.CBTTAPE.ORG //********************************************************** //STARTSYS EXEC PGM=COMMAND,TIME=1439 //STEPLIB DD DISP=SHR,DSN=authorized.loadlib //IEFRDER DD DISP=SHR,DSN=sandbox.parmlib(STRT&SYSNAME.) Example input from "sandbox.parmlib" * CHANGE VVDSSPACE FROM DEFAULT OF (10,10) - Z/OS 1.7 & ABOVE F CATALOG,VVDSSPACE(30,15) * DYNAMIC LPA ADDS FROM PDSE LIBRARIES SETPROG LPA,ADD,MASK=GSK*,DSN=SYS1.SIEALNKE * START TASKS S CSF S NET DELAY=15 S TCPIP DELAY=10 S OMPROUTE S TN3270 S RMF,,,MEMBER(M0) S SDSF S HCHECKER DELAY=10 S TSO F RMF,START III Hope this explains it all more clearly. 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

