 




<?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: Complete backup via CLP</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/complete-backup-via-clp/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/complete-backup-via-clp/</link>
	<description></description>
	<lastBuildDate>Sun, 26 May 2013 01:40:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: tonyra</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/complete-backup-via-clp/#comment-53263</link>
		<dc:creator>tonyra</dc:creator>
		<pubDate>Mon, 19 May 2008 13:59:44 +0000</pubDate>
		<guid isPermaLink="false">#comment-53263</guid>
		<description><![CDATA[This is a prototype of the process we have used for years.  This does not shut the system down, but brings it to a restricted state.  After everything is done, the command STRSBS     SBSD(QCTL) restarts the system as if a PWRDWNSYS command had been issued.

    700              PGM                                                       
    800              DCL        VAR(&amp;WORKSTN) TYPE(*CHAR) LEN(10)              
    900              DCL        VAR(&amp;ACTSTAT) TYPE(*CHAR) LEN(10)              
   1000              DCL        VAR(&amp;USERID) TYPE(*CHAR) LEN(10)               
   1100              DCL        VAR(&amp;YESNO) TYPE(*CHAR) LEN(10) VALUE(X)       
   1200              DCL        VAR(&amp;RETURNCD) TYPE(*CHAR) LEN(2)              
   1300              DCL        VAR(&amp;FAXRETCD) TYPE(*CHAR) LEN(2) VALUE(&#039;00&#039;)  
   1400              CHGMSGQ    MSGQ(QSYSOPR) DLVRY(*NOTIFY)                   
   1500              RTVJOBA    JOB(&amp;WORKSTN) USER(&amp;USERID)                    
   1600 /*     -     -     -     -     -     -     -     -     -     -     */  
   1700 /*  PLACE CL HERE TO SHUT DOWN VARIOUS JOBS AND PROCEDURES...      */  
   1800 /*     -     -     -     -     -     -     -     -     -     -     */  
   1900              DLYJOB     DLY(15)                                        
   2000 RESTRT:                                                                
   2100              CHGMSGQ    MSGQ(QSYSOPR) DLVRY(*BREAK)                    
   2200              SNDUSRMSG  MSG(&#039;WARNING WARNING. ALL SYBSYSTEMS WILL BE + 
   2300                           ENDED AT THIS POINT.  IF ANY ONE IS ON +     
   2400                           THE SYSTEM, THEY WILL BE KICKED OFF&#039;) +      
   2500                           MSGTYPE(*INFO) TOMSGQ(*)                     
   2600              SNDUSRMSG  MSG(&#039;Type Y to continue with backup, N to +    
   2700                           abort.&#039;) MSGTYPE(*INQ) TOMSGQ(*) +           
   2800                           MSGRPY(&amp;YESNO)                               
   2900              IF         COND(&amp;YESNO *EQ &#039;N&#039;) THEN(GOTO CMDLBL(ENDALL)) 
   3000              IF         COND(&amp;YESNO *EQ &#039;Y&#039;) THEN(GOTO CMDLBL(DOITTO))     
   3100              GOTO       CMDLBL(RESTRT)                                     
   3200 /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ 
   3300 DOITTO:                                                                    
   3400              ENDSBS     SBS(*ALL) OPTION(*IMMED) ENDSBSOPT(*NOJOBLOG)      
   3500              DLYJOB     DLY(30)                                            
   3600              CHGMSGQ    MSGQ(QSYSOPR) DLVRY(*NOTIFY)                       
   3700 /*     -     -     -     -     -     -     -     -     -     -     */      
   3800              INZTAP 
   3900 /*     -     -     -     -     -     -     -     -     -     -     */      
   4000              SAVSYS                                                        
   4100              SAVLIB                                                         
   4200              SAV                                                            
   4300              SAVDLO                   
   4400              DLYJOB     DLY(15)                                             
   4500 /*- - - - RESTART ALL SUBSYSTEMS- SEE QSTRUP FOR LIST - - - - - - - - - */  
   4600              STRSBS     SBSD(QCTL)                                          
   4700              CHGMSGQ    MSGQ(QSYSOPR) DLVRY(*BREAK)                         
   4800              ENDPGM]]></description>
		<content:encoded><![CDATA[<p>This is a prototype of the process we have used for years.  This does not shut the system down, but brings it to a restricted state.  After everything is done, the command STRSBS     SBSD(QCTL) restarts the system as if a PWRDWNSYS command had been issued.</p>
<p>    700              PGM<br />
    800              DCL        VAR(&amp;WORKSTN) TYPE(*CHAR) LEN(10)<br />
    900              DCL        VAR(&amp;ACTSTAT) TYPE(*CHAR) LEN(10)<br />
   1000              DCL        VAR(&amp;USERID) TYPE(*CHAR) LEN(10)<br />
   1100              DCL        VAR(&amp;YESNO) TYPE(*CHAR) LEN(10) VALUE(X)<br />
   1200              DCL        VAR(&amp;RETURNCD) TYPE(*CHAR) LEN(2)<br />
   1300              DCL        VAR(&amp;FAXRETCD) TYPE(*CHAR) LEN(2) VALUE(&#8217;00&#8242;)<br />
   1400              CHGMSGQ    MSGQ(QSYSOPR) DLVRY(*NOTIFY)<br />
   1500              RTVJOBA    JOB(&amp;WORKSTN) USER(&amp;USERID)<br />
   1600 /*     &#8211;     &#8211;     &#8211;     &#8211;     &#8211;     &#8211;     &#8211;     &#8211;     &#8211;     &#8211;     */<br />
   1700 /*  PLACE CL HERE TO SHUT DOWN VARIOUS JOBS AND PROCEDURES&#8230;      */<br />
   1800 /*     &#8211;     &#8211;     &#8211;     &#8211;     &#8211;     &#8211;     &#8211;     &#8211;     &#8211;     &#8211;     */<br />
   1900              DLYJOB     DLY(15)<br />
   2000 RESTRT:<br />
   2100              CHGMSGQ    MSGQ(QSYSOPR) DLVRY(*BREAK)<br />
   2200              SNDUSRMSG  MSG(&#8216;WARNING WARNING. ALL SYBSYSTEMS WILL BE +<br />
   2300                           ENDED AT THIS POINT.  IF ANY ONE IS ON +<br />
   2400                           THE SYSTEM, THEY WILL BE KICKED OFF&#8217;) +<br />
   2500                           MSGTYPE(*INFO) TOMSGQ(*)<br />
   2600              SNDUSRMSG  MSG(&#8216;Type Y to continue with backup, N to +<br />
   2700                           abort.&#8217;) MSGTYPE(*INQ) TOMSGQ(*) +<br />
   2800                           MSGRPY(&amp;YESNO)<br />
   2900              IF         COND(&amp;YESNO *EQ &#8216;N&#8217;) THEN(GOTO CMDLBL(ENDALL))<br />
   3000              IF         COND(&amp;YESNO *EQ &#8216;Y&#8217;) THEN(GOTO CMDLBL(DOITTO))<br />
   3100              GOTO       CMDLBL(RESTRT)<br />
   3200 /*- &#8211; - &#8211; - &#8211; - &#8211; - &#8211; - &#8211; - &#8211; - &#8211; - &#8211; - &#8211; - &#8211; - &#8211; - &#8211; - &#8211; - &#8211; - &#8211; - &#8211; - */<br />
   3300 DOITTO:<br />
   3400              ENDSBS     SBS(*ALL) OPTION(*IMMED) ENDSBSOPT(*NOJOBLOG)<br />
   3500              DLYJOB     DLY(30)<br />
   3600              CHGMSGQ    MSGQ(QSYSOPR) DLVRY(*NOTIFY)<br />
   3700 /*     &#8211;     &#8211;     &#8211;     &#8211;     &#8211;     &#8211;     &#8211;     &#8211;     &#8211;     &#8211;     */<br />
   3800              INZTAP<br />
   3900 /*     &#8211;     &#8211;     &#8211;     &#8211;     &#8211;     &#8211;     &#8211;     &#8211;     &#8211;     &#8211;     */<br />
   4000              SAVSYS<br />
   4100              SAVLIB<br />
   4200              SAV<br />
   4300              SAVDLO<br />
   4400              DLYJOB     DLY(15)<br />
   4500 /*- &#8211; - &#8211; RESTART ALL SUBSYSTEMS- SEE QSTRUP FOR LIST &#8211; - &#8211; - &#8211; - &#8211; - &#8211; */<br />
   4600              STRSBS     SBSD(QCTL)<br />
   4700              CHGMSGQ    MSGQ(QSYSOPR) DLVRY(*BREAK)<br />
   4800              ENDPGM</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tschmitz</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/complete-backup-via-clp/#comment-53256</link>
		<dc:creator>tschmitz</dc:creator>
		<pubDate>Mon, 19 May 2008 06:56:08 +0000</pubDate>
		<guid isPermaLink="false">#comment-53256</guid>
		<description><![CDATA[Hi GLinds01 ,

concerning your question &lt;i&gt;&quot;Isn&#039;t it possible to wrap the commands issued via GO SAVE option 21 in a CLP and run it via job scheduled entry, assuming proper authority, etc.? &quot;&lt;/i&gt;, here is the solution we use.

On the system console (running in QCTL subsystem), we initiate a interactifve job (BKPALLUSR) that is waiting for a specific message coming from the nightjobs process. This specific message is initiated by nightprocess on full backup day (saturday), and notify the console that all the night processes are finished and that machine is ready to be set up in restricted mode.

Console job get the info, end all subsystems, wait for completion, and launch a CL issuing all the save included in &quot;GO SAVE option 21&quot;. 

When backup is finished, machine is IPLed wih PWRDWNSYS restart(* yes).

It work ok since a lot of years.]]></description>
		<content:encoded><![CDATA[<p>Hi GLinds01 ,</p>
<p>concerning your question <i>&#8220;Isn&#8217;t it possible to wrap the commands issued via GO SAVE option 21 in a CLP and run it via job scheduled entry, assuming proper authority, etc.? &#8220;</i>, here is the solution we use.</p>
<p>On the system console (running in QCTL subsystem), we initiate a interactifve job (BKPALLUSR) that is waiting for a specific message coming from the nightjobs process. This specific message is initiated by nightprocess on full backup day (saturday), and notify the console that all the night processes are finished and that machine is ready to be set up in restricted mode.</p>
<p>Console job get the info, end all subsystems, wait for completion, and launch a CL issuing all the save included in &#8220;GO SAVE option 21&#8243;. </p>
<p>When backup is finished, machine is IPLed wih PWRDWNSYS restart(* yes).</p>
<p>It work ok since a lot of years.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wpoulin</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/complete-backup-via-clp/#comment-53239</link>
		<dc:creator>wpoulin</dc:creator>
		<pubDate>Fri, 16 May 2008 12:30:47 +0000</pubDate>
		<guid isPermaLink="false">#comment-53239</guid>
		<description><![CDATA[Gordon,

You can reach me at wpoulin@rev.state.nh.us.

Thanks,
Bill]]></description>
		<content:encoded><![CDATA[<p>Gordon,</p>
<p>You can reach me at <a href="mailto:wpoulin@rev.state.nh.us">wpoulin@rev.state.nh.us</a>.</p>
<p>Thanks,<br />
Bill</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wpoulin</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/complete-backup-via-clp/#comment-53214</link>
		<dc:creator>wpoulin</dc:creator>
		<pubDate>Thu, 15 May 2008 13:45:53 +0000</pubDate>
		<guid isPermaLink="false">#comment-53214</guid>
		<description><![CDATA[I am doing a Full System Backup via a CL Program that is scheduled with the Job Scheduler.  The trick is the job needs to be submitted to the QCTL Jobq Queue as opposed to QBATCH.  Then you need to end all subsystems so the system is put into a restricted state.  You then can issue the SAVSYS, SAVLIB *NONSYS etc. commands.

I would be willing to share this code with you if you are interested.
Thanks,
Bill]]></description>
		<content:encoded><![CDATA[<p>I am doing a Full System Backup via a CL Program that is scheduled with the Job Scheduler.  The trick is the job needs to be submitted to the QCTL Jobq Queue as opposed to QBATCH.  Then you need to end all subsystems so the system is put into a restricted state.  You then can issue the SAVSYS, SAVLIB *NONSYS etc. commands.</p>
<p>I would be willing to share this code with you if you are interested.<br />
Thanks,<br />
Bill</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: glinds01</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/complete-backup-via-clp/#comment-53213</link>
		<dc:creator>glinds01</dc:creator>
		<pubDate>Thu, 15 May 2008 13:30:45 +0000</pubDate>
		<guid isPermaLink="false">#comment-53213</guid>
		<description><![CDATA[Thanks for your help, Mr. Gilbert.

Gordon]]></description>
		<content:encoded><![CDATA[<p>Thanks for your help, Mr. Gilbert.</p>
<p>Gordon</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/10 queries in 0.036 seconds using memcached
Object Caching 323/329 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-26 04:12:14 -->