Dear Mark

 I got it. Thanks a lot!

Best Regards,

Jason Cai 




发件人: Mark Zelden 
发送时间: 2011-04-26  21:10:01 
收件人: IBM-MAIN 
抄送: 
主题: Re: How to start RMF Monitor III automatically after IPL the system. 
 
>
> Coulf you send me the examples of sandbox.parmlib(SHUT&SYSNAME.) and 
>sandbox.parmlib(SHUT&SYSCLONE.&REIPL.)  ? 
> 
>I wonder why SHUT&SYSNAME. and SHUT&SYSCLONE.&REIPL are needed.For
>STARTSYS PROC,there is only one member (sandbox.parmlib(STRT&SYSNAME.)) 
I thought I explained that, but perhaps not well.  After REIPL became an
option, I split the shutdown member into two members.   All the the commands
except the last few to shutdown JES2 and VARY XCF offline are in one member
and the JES2 shutdown, Z EOD and VARY XCF commands are in separate 
members.  The "Y" member has ",REIPL" added to the VARY XCF command.
Here is an example of SHUTxxN  (xx = sysclone).  I've changed the 
sysname to IPO1 for this post:
*                                            
*  THIS MEMBER IS CONCATENATED WTH SHUTIPO1 
*  TO SHUTDOWN WITHOUT A REIPL               
*                                            
$DJES2                                       
DELAY=3                                      
$PJES2                                       
DELAY=5                                      
Z EOD                                        
DELAY=5                                      
V XCF,IPO1,OFFLINE                  
DELAY=3                                      
D A,L   
REPLY * 'IXC371D' 'SYSNAME=IPO1'
                                     
Here is an example of SHUTxxY  (xx = sysclone).  I've changed the 
sysname to IPO1 for this post:
*                                            
*  THIS MEMBER IS CONCATENATED WTH SHUTIPO1 
*  TO SHUTDOWN WITH A REIPL               
*                                            
$DJES2                                       
DELAY=3                                      
$PJES2                                       
DELAY=5                                      
Z EOD                                        
DELAY=5                                      
V XCF,IPO1,OFFLINE,REIPL                     
DELAY=3                                      
D A,L                                        
REPLY * 'IXC371D' 'SYSNAME=IPO1'             
If you are looking for more samples on how to use command, please
refer to CBT file 19.  The source for the program - member COMMAND, 
has sample JCL and control statements within the source code as well
as a $COMMAND member that documents all the statements.
As I mentioned in my last post, if I just want to shutdown and REIPL my 
sandbox with the same sysres / loadparm, I issue this command:
 "S SHUTSYS.SHUTSYS,SUB=MSTR,REIPL=Y" 
           
Hope this helps,
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

Reply via email to