<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: AS/400 V5R4 &#8211; Trying to run a system save in nightly routines.</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/unattended-system-save/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/unattended-system-save/</link>
	<description></description>
	<lastBuildDate>Thu, 20 Jun 2013 12:52:52 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: barakait</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/unattended-system-save/#comment-116488</link>
		<dc:creator>barakait</dc:creator>
		<pubDate>Wed, 20 Feb 2013 11:24:49 +0000</pubDate>
		<guid isPermaLink="false">#comment-116488</guid>
		<description><![CDATA[&lt;P&gt;dear,&lt;/P&gt;
&lt;P&gt;i have a question, if we want to do a policy before starting the End Of Day (as400 system, equation system)&#160;what you have from ideas to help us on it?&lt;/P&gt;
&lt;P&gt;thanks in advanced&lt;/P&gt;]]></description>
		<content:encoded><![CDATA[<p>dear,</p>
<p>i have a question, if we want to do a policy before starting the End Of Day (as400 system, equation system)&nbsp;what you have from ideas to help us on it?</p>
<p>thanks in advanced</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pdraebel</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/unattended-system-save/#comment-78635</link>
		<dc:creator>pdraebel</dc:creator>
		<pubDate>Mon, 28 Jun 2010 07:44:01 +0000</pubDate>
		<guid isPermaLink="false">#comment-78635</guid>
		<description><![CDATA[We do a weekly save of the entire system with BRMS. We have a Backup procedure running and in the weelly process it checks if the BRMS console monitor is running. If it is not we do a normal save, if it is we Submit a control group to the BRMS console. BRMS starts QCTL after the save completes.]]></description>
		<content:encoded><![CDATA[<p>We do a weekly save of the entire system with BRMS. We have a Backup procedure running and in the weelly process it checks if the BRMS console monitor is running. If it is not we do a normal save, if it is we Submit a control group to the BRMS console. BRMS starts QCTL after the save completes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rosshowatson</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/unattended-system-save/#comment-78595</link>
		<dc:creator>rosshowatson</dc:creator>
		<pubDate>Fri, 25 Jun 2010 20:12:46 +0000</pubDate>
		<guid isPermaLink="false">#comment-78595</guid>
		<description><![CDATA[Within BRMS and a tape magazine unit you can set this up and it will automatically shut down the subsystems, find and clear an available tape, do the full system save and restart the system.  The only fancy code is adding a reply list entry beforehand and removing this afterwards.]]></description>
		<content:encoded><![CDATA[<p>Within BRMS and a tape magazine unit you can set this up and it will automatically shut down the subsystems, find and clear an available tape, do the full system save and restart the system.  The only fancy code is adding a reply list entry beforehand and removing this afterwards.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rayj1031</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/unattended-system-save/#comment-78586</link>
		<dc:creator>rayj1031</dc:creator>
		<pubDate>Fri, 25 Jun 2010 18:06:54 +0000</pubDate>
		<guid isPermaLink="false">#comment-78586</guid>
		<description><![CDATA[IBM recommends shutting down TCP/IP first.
I always initialize the tape before shutting down the system because if the tape fails, no point in shuttind down the system.

The code snippet from my backup program has been working for at least 2 years now:

&lt;pre&gt;
SHUTDOWN1:                                                                 
                                                                           
            ENDTCPSVR  SERVER(*ALL)                                        
            MONMSG     MSGID(CPF9999 CPF0000)                              
                                                                           
            DLYJOB     DLY(180)                                            
            MONMSG     MSGID(CPF9999 CPF0000)                              
                                                                           
            ENDTCP                                                         
            MONMSG     MSGID(CPF9999 CPF0000)                              
            DLYJOB     DLY(180)                                            
                                                                           
            ENDWTR     WTR(*ALL) OPTION(*IMMED)                            
            MONMSG     MSGID(CPF9999 CPF0000)                              
                                                                           
            DLYJOB     DLY(120)                                            
                                                                           
SHUTDOWN2:                                                                 
                                                                           
            ENDSBS     SBS(*ALL) OPTION(*IMMED) DELAY(30) BCHTIMLMT(300)   
            /* BCHTIMLMT should start the system again at 0600.  */        
            /* Ignore any errors - try to get a backup.          */        
                                                                           
            MONMSG     MSGID(CPF0000 MCH0000)                              
                                                                                
            DLYJOB     DLY(600)                                                 
            /* wait for 10 minutes for subsystems to end.  */                   
                                                                                   
******************************************************************************/ 
*           Add reply list entries to avoid tape failures.                   */ 
******************************************************************************/ 
                                                                                
            ADDRPYLE   SEQNBR(2001) MSGID(CPA4088) RPY(C)                       
            MONMSG     CPF2555                                                  
            ADDRPYLE   SEQNBR(2002) MSGID(CPA4086) RPY(C)                       
            MONMSG     CPF2555                                                  
            ADDRPYLE   SEQNBR(2003) MSGID(CPA4278) RPY(I)                       
            MONMSG     CPF2555                                                  
                                                                                
******************************************************************************/ 
*           Start a full system backup.                                      */ 
******************************************************************************/ 
SAVSYS:                                                                         
            IF         COND(&amp;DAY = *THU) THEN(DO)                               
                  SAVSYS     DEV(&amp;DEVD) ENDOPT(*LEAVE)                          
                   MONMSG     MSGID(CPF0000 CPF9999)                            
                   SNDMSG     MSG(&#039;@@@@ SAVSYS completed.&#039;) TOMSGQ(*HSTLOG)     
                   MONMSG     MSGID(CPF0000 CPF9999)                            
             ENDDO       

&lt;/pre&gt;]]></description>
		<content:encoded><![CDATA[<p>IBM recommends shutting down TCP/IP first.<br />
I always initialize the tape before shutting down the system because if the tape fails, no point in shuttind down the system.</p>
<p>The code snippet from my backup program has been working for at least 2 years now:</p>
<pre>
SHUTDOWN1:                                                                 
                                                                           
            ENDTCPSVR  SERVER(*ALL)                                        
            MONMSG     MSGID(CPF9999 CPF0000)                              
                                                                           
            DLYJOB     DLY(180)                                            
            MONMSG     MSGID(CPF9999 CPF0000)                              
                                                                           
            ENDTCP                                                         
            MONMSG     MSGID(CPF9999 CPF0000)                              
            DLYJOB     DLY(180)                                            
                                                                           
            ENDWTR     WTR(*ALL) OPTION(*IMMED)                            
            MONMSG     MSGID(CPF9999 CPF0000)                              
                                                                           
            DLYJOB     DLY(120)                                            
                                                                           
SHUTDOWN2:                                                                 
                                                                           
            ENDSBS     SBS(*ALL) OPTION(*IMMED) DELAY(30) BCHTIMLMT(300)   
            /* BCHTIMLMT should start the system again at 0600.  */        
            /* Ignore any errors - try to get a backup.          */        
                                                                           
            MONMSG     MSGID(CPF0000 MCH0000)                              
                                                                                
            DLYJOB     DLY(600)                                                 
            /* wait for 10 minutes for subsystems to end.  */                   
                                                                                   
******************************************************************************/ 
*           Add reply list entries to avoid tape failures.                   */ 
******************************************************************************/ 
                                                                                
            ADDRPYLE   SEQNBR(2001) MSGID(CPA4088) RPY(C)                       
            MONMSG     CPF2555                                                  
            ADDRPYLE   SEQNBR(2002) MSGID(CPA4086) RPY(C)                       
            MONMSG     CPF2555                                                  
            ADDRPYLE   SEQNBR(2003) MSGID(CPA4278) RPY(I)                       
            MONMSG     CPF2555                                                  
                                                                                
******************************************************************************/ 
*           Start a full system backup.                                      */ 
******************************************************************************/ 
SAVSYS:                                                                         
            IF         COND(&amp;DAY = *THU) THEN(DO)                               
                  SAVSYS     DEV(&amp;DEVD) ENDOPT(*LEAVE)                          
                   MONMSG     MSGID(CPF0000 CPF9999)                            
                   SNDMSG     MSG('@@@@ SAVSYS completed.') TOMSGQ(*HSTLOG)     
                   MONMSG     MSGID(CPF0000 CPF9999)                            
             ENDDO       

</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: wpoulin</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/unattended-system-save/#comment-78582</link>
		<dc:creator>wpoulin</dc:creator>
		<pubDate>Fri, 25 Jun 2010 17:17:16 +0000</pubDate>
		<guid isPermaLink="false">#comment-78582</guid>
		<description><![CDATA[ITDavid,

The whole idea of putting the system in a Restricted State is that all Subsystems are ended, (including Qinter) except for Qctl, the Controlling Subsystem and that no other jobs are running expect your Backup Job.

Hope this helps,
Bill Poulin]]></description>
		<content:encoded><![CDATA[<p>ITDavid,</p>
<p>The whole idea of putting the system in a Restricted State is that all Subsystems are ended, (including Qinter) except for Qctl, the Controlling Subsystem and that no other jobs are running expect your Backup Job.</p>
<p>Hope this helps,<br />
Bill Poulin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: itdavid</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/unattended-system-save/#comment-78574</link>
		<dc:creator>itdavid</dc:creator>
		<pubDate>Fri, 25 Jun 2010 14:10:51 +0000</pubDate>
		<guid isPermaLink="false">#comment-78574</guid>
		<description><![CDATA[Bill

That makes sense, my only problem is that the Stystem/21 Program Manager runs from Qinter I believe.  I shall look into this next week.

Thanks
David]]></description>
		<content:encoded><![CDATA[<p>Bill</p>
<p>That makes sense, my only problem is that the Stystem/21 Program Manager runs from Qinter I believe.  I shall look into this next week.</p>
<p>Thanks<br />
David</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wpoulin</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/unattended-system-save/#comment-78565</link>
		<dc:creator>wpoulin</dc:creator>
		<pubDate>Fri, 25 Jun 2010 12:17:35 +0000</pubDate>
		<guid isPermaLink="false">#comment-78565</guid>
		<description><![CDATA[ITDavid,

I see that you are doing a SBMJOB to QCTL, but what Subsystem is the Program that I am looking at running in ?
In my mind this whole program should be Submitted to Qctl and the first statement should be the EndSbs *all.

Hope this helps,
Bill Poulin]]></description>
		<content:encoded><![CDATA[<p>ITDavid,</p>
<p>I see that you are doing a SBMJOB to QCTL, but what Subsystem is the Program that I am looking at running in ?<br />
In my mind this whole program should be Submitted to Qctl and the first statement should be the EndSbs *all.</p>
<p>Hope this helps,<br />
Bill Poulin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: itdavid</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/unattended-system-save/#comment-78558</link>
		<dc:creator>itdavid</dc:creator>
		<pubDate>Fri, 25 Jun 2010 07:57:23 +0000</pubDate>
		<guid isPermaLink="false">#comment-78558</guid>
		<description><![CDATA[This procedure (attached photocopy) is in part of our auto Day End procedure within System 21 machine manager.

&lt;pre&gt;PGM
SBMJOB  CMD(ENDSBS SBS(*ALL) OPTION(*IMMED) BCHTIMLMT(120)) JOB(END_SUBS) JOBQ(QCTL)

DLYJOB  DLY(300)

the CLP then continues with INZTAP, SAYSYS &amp; SAVLIB none of which run as the system begins its startup routines as soon as the system is in a restricted state (almost as if the BCHTIMLMT is set to less than a minute).

David&lt;/pre&gt;]]></description>
		<content:encoded><![CDATA[<p>This procedure (attached photocopy) is in part of our auto Day End procedure within System 21 machine manager.</p>
<pre>PGM
SBMJOB  CMD(ENDSBS SBS(*ALL) OPTION(*IMMED) BCHTIMLMT(120)) JOB(END_SUBS) JOBQ(QCTL)

DLYJOB  DLY(300)

the CLP then continues with INZTAP, SAYSYS &amp; SAVLIB none of which run as the system begins its startup routines as soon as the system is in a restricted state (almost as if the BCHTIMLMT is set to less than a minute).

David</pre>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 6/9 queries in 0.014 seconds using memcached
Object Caching 366/369 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-06-20 13:31:43 -->