 




<?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: CL PGM for full system save from the HMC</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/cl-pgm-for-full-system-save-from-the-hmc/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/cl-pgm-for-full-system-save-from-the-hmc/</link>
	<description></description>
	<lastBuildDate>Thu, 23 May 2013 08:17:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/cl-pgm-for-full-system-save-from-the-hmc/#comment-110309</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Wed, 22 Aug 2012 01:12:36 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/cl-pgm-for-full-system-save-from-the-hmc/#comment-110309</guid>
		<description><![CDATA[Sure, you could do it; but why would anyone want to?
&#160;
Now, there are a couple fundamental problems with your code.
&#160;
First, you didn&#039;t specify a job name in your CHGJOB statement. You have the JOBQ() parameter, but that is only meaningful against a job that is currently on a jobq. You can&#039;t change the jobq of the current job, so a job name must be supplied and it must be for a different job.
&#160;
Second, you ran ENDSBS *ALL with no error handling at all -- you merely ignore a particular condition. You risk putting your system into an unuseable state until you can force an IPL. Further, you don&#039;t test to see if restricted state has been achieved; you jump straight to your saves. It&#039;s almost guaranteed that restricted state will take a couple minutes or so to arrive. By that time, your SAVSYS command will probably already have&#160;failed. Your INZSYS command &lt;EM&gt;might take&lt;/EM&gt; long enough, but it can&#039;t be expected.
&#160;
That&#039;s about all that can be said for now.
&#160;
Tom]]></description>
		<content:encoded><![CDATA[<p>Sure, you could do it; but why would anyone want to?<br />
&nbsp;<br />
Now, there are a couple fundamental problems with your code.<br />
&nbsp;<br />
First, you didn&#8217;t specify a job name in your CHGJOB statement. You have the JOBQ() parameter, but that is only meaningful against a job that is currently on a jobq. You can&#8217;t change the jobq of the current job, so a job name must be supplied and it must be for a different job.<br />
&nbsp;<br />
Second, you ran ENDSBS *ALL with no error handling at all &#8212; you merely ignore a particular condition. You risk putting your system into an unuseable state until you can force an IPL. Further, you don&#8217;t test to see if restricted state has been achieved; you jump straight to your saves. It&#8217;s almost guaranteed that restricted state will take a couple minutes or so to arrive. By that time, your SAVSYS command will probably already have&nbsp;failed. Your INZSYS command <em>might take</em> long enough, but it can&#8217;t be expected.<br />
&nbsp;<br />
That&#8217;s about all that can be said for now.<br />
&nbsp;<br />
Tom</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 6/9 queries in 0.012 seconds using memcached
Object Caching 268/271 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-23 08:43:23 -->