 




<?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: As400 Daily Backup Error</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/as400-daily-backup-error/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-daily-backup-error/</link>
	<description></description>
	<lastBuildDate>Wed, 22 May 2013 18:27:48 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: ToddN2000</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-daily-backup-error/#comment-117648</link>
		<dc:creator>ToddN2000</dc:creator>
		<pubDate>Thu, 28 Mar 2013 12:19:36 +0000</pubDate>
		<guid isPermaLink="false">#comment-117648</guid>
		<description><![CDATA[We had some similar issues. Some user would forget to sign off at the end of the day and this would cause lock on files. What to did to eliminate some of the proble was to set the system parm for the inactivity timer to 60 minutes QINACTITV.&#160; This may help without the need to end the sub systems.]]></description>
		<content:encoded><![CDATA[<p>We had some similar issues. Some user would forget to sign off at the end of the day and this would cause lock on files. What to did to eliminate some of the proble was to set the system parm for the inactivity timer to 60 minutes QINACTITV.&nbsp; This may help without the need to end the sub systems.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-daily-backup-error/#comment-117588</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Wed, 27 Mar 2013 04:31:40 +0000</pubDate>
		<guid isPermaLink="false">#comment-117588</guid>
		<description><![CDATA[&lt;EM&gt;...the joblog for the offending job eg 278260/QUSER/QRWTSRVR doesnt exist so cannot interrogate what this DB2CON session was doing at the time the overnight backup was being run.&lt;/EM&gt;
&#160;
The joblog probably won&#039;t tell you what it&#039;s doing even if you could find it. The joblog doesn&#039;t record database transactions in any job, not just QRWTSRVR (unless your developers send messages to the joblog). That&#039;s what journals are for, not joblogs.
&#160;
The QRWTSRVR job is the TCP/IP DDM server handling remote DDM or DRDA&#160;database accesses. If you have active server jobs doing important updates during the times you want to run backups, you need to understand that you might not be backing up important database files.
&#160;
If transactions are being sent and not being committed, the database files are not going to be saved whether you use save-while-active or not. Since you can&#039;t end subsystems, you might as well get used to the idea that your backups will fail from time to time. The best alternative is to get your developers to run their transactions properly and either COMMIT successful transactions or ROLLBACK unsuccessful ones. The next best option is to end database services before starting your backups.
&#160;
Instead of trying to look at a joblog, use iSeries Navigator to drill into the connection for your AS/400 into Databases-&gt; [databasename]-&gt; Transactions-&gt; Database Transactions. You can sort the list by job name to find any transactions for jobs named QRWTSRVR. From a terminal, you can run the WRKCMTDFN JOB(QRWTSRVR) command.
&#160;
It only makes sense to do this at the time the message is sent. It probably won&#039;t do any good to look later in the day because everything will be long gone.
&#160;
Tom]]></description>
		<content:encoded><![CDATA[<p><em>&#8230;the joblog for the offending job eg 278260/QUSER/QRWTSRVR doesnt exist so cannot interrogate what this DB2CON session was doing at the time the overnight backup was being run.</em><br />
&nbsp;<br />
The joblog probably won&#8217;t tell you what it&#8217;s doing even if you could find it. The joblog doesn&#8217;t record database transactions in any job, not just QRWTSRVR (unless your developers send messages to the joblog). That&#8217;s what journals are for, not joblogs.<br />
&nbsp;<br />
The QRWTSRVR job is the TCP/IP DDM server handling remote DDM or DRDA&nbsp;database accesses. If you have active server jobs doing important updates during the times you want to run backups, you need to understand that you might not be backing up important database files.<br />
&nbsp;<br />
If transactions are being sent and not being committed, the database files are not going to be saved whether you use save-while-active or not. Since you can&#8217;t end subsystems, you might as well get used to the idea that your backups will fail from time to time. The best alternative is to get your developers to run their transactions properly and either COMMIT successful transactions or ROLLBACK unsuccessful ones. The next best option is to end database services before starting your backups.<br />
&nbsp;<br />
Instead of trying to look at a joblog, use iSeries Navigator to drill into the connection for your AS/400 into Databases-&gt; [databasename]-&gt; Transactions-&gt; Database Transactions. You can sort the list by job name to find any transactions for jobs named QRWTSRVR. From a terminal, you can run the WRKCMTDFN JOB(QRWTSRVR) command.<br />
&nbsp;<br />
It only makes sense to do this at the time the message is sent. It probably won&#8217;t do any good to look later in the day because everything will be long gone.<br />
&nbsp;<br />
Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tonks</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-daily-backup-error/#comment-117582</link>
		<dc:creator>Tonks</dc:creator>
		<pubDate>Tue, 26 Mar 2013 23:28:05 +0000</pubDate>
		<guid isPermaLink="false">#comment-117582</guid>
		<description><![CDATA[Exactly Jfranz.....
I too have this issue with our backups intermittently.
I cannot shutdown any subsytems whilst our backup occurs so the SWA backup method has been perfect for our requirements ( except when this issue occurs!)
Frustrating thing for me is when i try to investigate this issue it tells me the joblog for the offending job eg 278260/QUSER/QRWTSRVR doesnt exist so cannot interrogate what this DB2CON session was doing at the time the overnight backup was being run.
&lt;EM&gt;&quot;This request cannot continue until all commitment definitions with pending changes for job 278260/QUSER/QRWTSRVR are committed or rolled back.&quot;&lt;/EM&gt;
&#160;]]></description>
		<content:encoded><![CDATA[<p>Exactly Jfranz&#8230;..<br />
I too have this issue with our backups intermittently.<br />
I cannot shutdown any subsytems whilst our backup occurs so the SWA backup method has been perfect for our requirements ( except when this issue occurs!)<br />
Frustrating thing for me is when i try to investigate this issue it tells me the joblog for the offending job eg 278260/QUSER/QRWTSRVR doesnt exist so cannot interrogate what this DB2CON session was doing at the time the overnight backup was being run.<br />
<em>&#8220;This request cannot continue until all commitment definitions with pending changes for job 278260/QUSER/QRWTSRVR are committed or rolled back.&#8221;</em><br />
&nbsp;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jfranz</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-daily-backup-error/#comment-108474</link>
		<dc:creator>jfranz</dc:creator>
		<pubDate>Thu, 14 Jun 2012 15:25:19 +0000</pubDate>
		<guid isPermaLink="false">#comment-108474</guid>
		<description><![CDATA[The whole purpose of Save While Active is to not shut down!  
You need to address the parms you are using versus the committment control going on in the user library APDBFA. Save While Active is a wonderful thing to use. IBM has considerable documentation &amp; discussion of the issue in the Info Center.]]></description>
		<content:encoded><![CDATA[<p>The whole purpose of Save While Active is to not shut down!<br />
You need to address the parms you are using versus the committment control going on in the user library APDBFA. Save While Active is a wonderful thing to use. IBM has considerable documentation &amp; discussion of the issue in the Info Center.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-daily-backup-error/#comment-108451</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Thu, 14 Jun 2012 00:20:31 +0000</pubDate>
		<guid isPermaLink="false">#comment-108451</guid>
		<description><![CDATA[&lt;i&gt;...any suggestions to improve?&lt;/i&gt;

Definitely. Don&#039;t use ENDSBS unless you&#039;re going to ensure that the jobs in each of those subsystems has ended first.

Otherwise, a locked job will make the associated subsystem unusable until you can IPL.

Tom]]></description>
		<content:encoded><![CDATA[<p><i>&#8230;any suggestions to improve?</i></p>
<p>Definitely. Don&#8217;t use ENDSBS unless you&#8217;re going to ensure that the jobs in each of those subsystems has ended first.</p>
<p>Otherwise, a locked job will make the associated subsystem unusable until you can IPL.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: markmason</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-daily-backup-error/#comment-108425</link>
		<dc:creator>markmason</dc:creator>
		<pubDate>Wed, 13 Jun 2012 13:15:38 +0000</pubDate>
		<guid isPermaLink="false">#comment-108425</guid>
		<description><![CDATA[I am trying to replicate a restricted stated so nightly jobs and backups can run in batch.  This is what I have, any suggestions to improve?

          /* End All Subsystem (COMMENTED OUT)                                 */
/*           ENDSBS     SBS(*ALL) OPTION(*IMMED)                     */
/* Replace with Individual SBS                                       */
             ENDSBS     SBS(MFBATCH) OPTION(*CNTRLD)                   
             MONMSG     MSGID(CPF1054)                                 
             ENDSBS     SBS(QBATCH) OPTION(*CNTRLD)                    
             MONMSG     MSGID(CPF1054)                                 
             ENDSBS     SBS(QINTER) OPTION(*CNTRLD)                    
             MONMSG     MSGID(CPF1054)                                 
             ENDSBS     SBS(QUSRWRK) OPTION(*CNTRLD)                   
             MONMSG     MSGID(CPF1054)                                 
             ENDSBS     SBS(QSERVER) OPTION(*CNTRLD)                   
             MONMSG     MSGID(CPF1054)                                 
 DELAY10:    DLYJOB     DLY(&amp;SECONDS)                                  
             ENDHOSTSVR SERVER(*ALL)                                   
             MONMSG     MSGID(CPF0000)                                 
             ENDSBS     SBS(MFBATCH) OPTION(*IMMED)                    
            MONMSG     MSGID(CPF0000)                           
            ENDSBS     SBS(QCMN) OPTION(*IMMED)                 
            MONMSG     MSGID(CPF0000)                           
            ENDSBS     SBS(QBATCH ) OPTION(*IMMED)              
            MONMSG     MSGID(CPF1054)                           
            ENDSBS     SBS(QINTER) OPTION(*immed)               
            MONMSG     MSGID(CPF1054)                           
            ENDSBS     SBS(QUSRWRK) OPTION(*IMMED)              
            MONMSG     MSGID(CPF1054)                           
            ENDSBS     SBS(QSERVER) OPTION(*immed)              
            MONMSG     MSGID(CPF1054)                           
            ENDSBS     SBS(QPGMR) OPTION(*IMMED)                
            MONMSG     MSGID(CPF0000)                           
                                                                
DELAY5:     DLYJOB     DLY(&amp;SECONDS) /* delay 10 minutes */     
/* NEXT */                                                       
            STRSBS     SBSD(QPGMR)                              
/*           MONMSG     MSGID(CPF1099) EXEC(GOTO CMDLBL(DELAY5))   */   
                                                                        
/* CPF1099 = Subsystem not started because system ending             */ 
             STRSBS     SBSD(QSPL)                                      
             MONMSG     MSGID(CPF1010)                                  
             CHGMSGQ    MSGQ(QSYSOPR) DLVRY(*HOLD)                      
             MONMSG     MSGID(CPF2451)                                  
                                                                        
/* **********************************************************        */ 
/* Begin End of Day Process                                 *        */ 
/* **********************************************************        */ 
                                                                        
             STRSBS     SBSD(QSYS/QSERVER)                              
             MONMSG     MSGID(CPF0000)                                  
             STRSBS     SBSD(QSYS/QUSRWRK)                              
             MONMSG     MSGID(CPF0000)                                  
/* Start Communications Subsystem.                                   */ 
             STRSBS     SBSD(QCMN)                                     
             MONMSG     MSGID(CPF0000)                                 
             STRSBS     SBSD(QINTER)                                   
             MONMSG     MSGID(CPF0000)                                 
                                                                       
             DLYJOB     DLY(&amp;SECONDS) /* delay 5 minutes */            
             STRTCP                                                    
             MONMSG     MSGID(CPF0000)                                 
/* ***************************************************************** */
             ENDPGM]]></description>
		<content:encoded><![CDATA[<p>I am trying to replicate a restricted stated so nightly jobs and backups can run in batch.  This is what I have, any suggestions to improve?</p>
<p>          /* End All Subsystem (COMMENTED OUT)                                 */<br />
/*           ENDSBS     SBS(*ALL) OPTION(*IMMED)                     */<br />
/* Replace with Individual SBS                                       */<br />
             ENDSBS     SBS(MFBATCH) OPTION(*CNTRLD)<br />
             MONMSG     MSGID(CPF1054)<br />
             ENDSBS     SBS(QBATCH) OPTION(*CNTRLD)<br />
             MONMSG     MSGID(CPF1054)<br />
             ENDSBS     SBS(QINTER) OPTION(*CNTRLD)<br />
             MONMSG     MSGID(CPF1054)<br />
             ENDSBS     SBS(QUSRWRK) OPTION(*CNTRLD)<br />
             MONMSG     MSGID(CPF1054)<br />
             ENDSBS     SBS(QSERVER) OPTION(*CNTRLD)<br />
             MONMSG     MSGID(CPF1054)<br />
 DELAY10:    DLYJOB     DLY(&amp;SECONDS)<br />
             ENDHOSTSVR SERVER(*ALL)<br />
             MONMSG     MSGID(CPF0000)<br />
             ENDSBS     SBS(MFBATCH) OPTION(*IMMED)<br />
            MONMSG     MSGID(CPF0000)<br />
            ENDSBS     SBS(QCMN) OPTION(*IMMED)<br />
            MONMSG     MSGID(CPF0000)<br />
            ENDSBS     SBS(QBATCH ) OPTION(*IMMED)<br />
            MONMSG     MSGID(CPF1054)<br />
            ENDSBS     SBS(QINTER) OPTION(*immed)<br />
            MONMSG     MSGID(CPF1054)<br />
            ENDSBS     SBS(QUSRWRK) OPTION(*IMMED)<br />
            MONMSG     MSGID(CPF1054)<br />
            ENDSBS     SBS(QSERVER) OPTION(*immed)<br />
            MONMSG     MSGID(CPF1054)<br />
            ENDSBS     SBS(QPGMR) OPTION(*IMMED)<br />
            MONMSG     MSGID(CPF0000)                           </p>
<p>DELAY5:     DLYJOB     DLY(&amp;SECONDS) /* delay 10 minutes */<br />
/* NEXT */<br />
            STRSBS     SBSD(QPGMR)<br />
/*           MONMSG     MSGID(CPF1099) EXEC(GOTO CMDLBL(DELAY5))   */   </p>
<p>/* CPF1099 = Subsystem not started because system ending             */<br />
             STRSBS     SBSD(QSPL)<br />
             MONMSG     MSGID(CPF1010)<br />
             CHGMSGQ    MSGQ(QSYSOPR) DLVRY(*HOLD)<br />
             MONMSG     MSGID(CPF2451)                                  </p>
<p>/* **********************************************************        */<br />
/* Begin End of Day Process                                 *        */<br />
/* **********************************************************        */ </p>
<p>             STRSBS     SBSD(QSYS/QSERVER)<br />
             MONMSG     MSGID(CPF0000)<br />
             STRSBS     SBSD(QSYS/QUSRWRK)<br />
             MONMSG     MSGID(CPF0000)<br />
/* Start Communications Subsystem.                                   */<br />
             STRSBS     SBSD(QCMN)<br />
             MONMSG     MSGID(CPF0000)<br />
             STRSBS     SBSD(QINTER)<br />
             MONMSG     MSGID(CPF0000)                                 </p>
<p>             DLYJOB     DLY(&amp;SECONDS) /* delay 5 minutes */<br />
             STRTCP<br />
             MONMSG     MSGID(CPF0000)<br />
/* ***************************************************************** */<br />
             ENDPGM</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-daily-backup-error/#comment-96032</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Thu, 01 Sep 2011 01:29:37 +0000</pubDate>
		<guid isPermaLink="false">#comment-96032</guid>
		<description><![CDATA[Also note that ending QSERVER and/or QUSRWRK subsystems might have no effect. The related host server jobs can run in other subsystems.

Further, if any problems are associated with jobs in those subsystems such that the ENDSBS cannot complete successfully, the result can be a required ENDJOBABN or a forced power-down to effect cleanup. Quite possibly, a RCLSTG SELECT(*DBXREF) or RCLDBXREF *FIX would be needed after IPL.

IMO, it is better to end the related host servers with ENDHOSTSVR ENDACTCNN(*DATABASE) than simply to issue ENDSBS. If any job in a subsystem is unable to end, then the subsystem cannot end. The subsystem also can&#039;t be restarted to handle new work until the problem is resolved.

Tom]]></description>
		<content:encoded><![CDATA[<p>Also note that ending QSERVER and/or QUSRWRK subsystems might have no effect. The related host server jobs can run in other subsystems.</p>
<p>Further, if any problems are associated with jobs in those subsystems such that the ENDSBS cannot complete successfully, the result can be a required ENDJOBABN or a forced power-down to effect cleanup. Quite possibly, a RCLSTG SELECT(*DBXREF) or RCLDBXREF *FIX would be needed after IPL.</p>
<p>IMO, it is better to end the related host servers with ENDHOSTSVR ENDACTCNN(*DATABASE) than simply to issue ENDSBS. If any job in a subsystem is unable to end, then the subsystem cannot end. The subsystem also can&#8217;t be restarted to handle new work until the problem is resolved.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-daily-backup-error/#comment-96031</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Thu, 01 Sep 2011 01:18:28 +0000</pubDate>
		<guid isPermaLink="false">#comment-96031</guid>
		<description><![CDATA[At the moment, there is no reason to believe that any interactive subsystem is involved in the problem except that it is one of the possibilities. If it&#039;s not involved, then ending any interactive subsystem won&#039;t make any difference.

First step is to determine which commitment definitions are involved, and then to determine which jobs created those definitions. ODBC/JDBC jobs through the database server may be more likely causes of interference at that time of day, but there&#039;s no way for us to know.

The recovery steps in message description CPF377F need to be followed. The results of those actions can be posted back here if further help is needed.

Tom]]></description>
		<content:encoded><![CDATA[<p>At the moment, there is no reason to believe that any interactive subsystem is involved in the problem except that it is one of the possibilities. If it&#8217;s not involved, then ending any interactive subsystem won&#8217;t make any difference.</p>
<p>First step is to determine which commitment definitions are involved, and then to determine which jobs created those definitions. ODBC/JDBC jobs through the database server may be more likely causes of interference at that time of day, but there&#8217;s no way for us to know.</p>
<p>The recovery steps in message description CPF377F need to be followed. The results of those actions can be posted back here if further help is needed.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jmsci1</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-daily-backup-error/#comment-96029</link>
		<dc:creator>jmsci1</dc:creator>
		<pubDate>Wed, 31 Aug 2011 21:56:24 +0000</pubDate>
		<guid isPermaLink="false">#comment-96029</guid>
		<description><![CDATA[If you are truely doing a save while active backup using brms, 

1. shutdown qinter  or whatever the interactive subsystem is named (remember to leave a back door or another interactive up that allow you to log in - for troubleshooting purposes.
2. Monitor the msgq that the sync point msg is sent.
3. once the message is rec&#039;d, restart the interactive subsystem.

I do this a lot in large end IT shop.

Try it.  heres a link

http://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/index.jsp?topic=%2Frzaiu%2Frzaiurzaiu352.htm]]></description>
		<content:encoded><![CDATA[<p>If you are truely doing a save while active backup using brms, </p>
<p>1. shutdown qinter  or whatever the interactive subsystem is named (remember to leave a back door or another interactive up that allow you to log in &#8211; for troubleshooting purposes.<br />
2. Monitor the msgq that the sync point msg is sent.<br />
3. once the message is rec&#8217;d, restart the interactive subsystem.</p>
<p>I do this a lot in large end IT shop.</p>
<p>Try it.  heres a link</p>
<p><a href="http://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/index.jsp?topic=%2Frzaiu%2Frzaiurzaiu352.htm" rel="nofollow">http://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/index.jsp?topic=%2Frzaiu%2Frzaiurzaiu352.htm</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: is questions</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-daily-backup-error/#comment-95971</link>
		<dc:creator>is questions</dc:creator>
		<pubDate>Tue, 30 Aug 2011 14:59:13 +0000</pubDate>
		<guid isPermaLink="false">#comment-95971</guid>
		<description><![CDATA[I suggest you end the QINTER subsystem prior to backup or part of your backup is to end the users.  We have also this case before and usually users have a lock on commitment definition.]]></description>
		<content:encoded><![CDATA[<p>I suggest you end the QINTER subsystem prior to backup or part of your backup is to end the users.  We have also this case before and usually users have a lock on commitment definition.</p>
]]></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 3/8 queries in 0.037 seconds using memcached
Object Caching 395/396 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-22 21:24:14 -->