<?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: Single commitment control in RPGLE program</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/single-commitment-control/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/single-commitment-control/</link>
	<description></description>
	<lastBuildDate>Wed, 19 Jun 2013 15:28:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/single-commitment-control/#comment-92228</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Tue, 17 May 2011 21:01:40 +0000</pubDate>
		<guid isPermaLink="false">#comment-92228</guid>
		<description><![CDATA[&lt;i&gt;I am calling this pgm from command prompt...&lt;/i&gt;

You might run a STRCMTCTL LCKLVL(*CHG) command before calling your program. After the program ends, run a COMMIT or a ROLLBACK command depending on whether the program ended properly or failed. And finally, run ENDCMTCTL to stop commitment control.

You might create a basic CL program to wrap the new commands around a CALL to your program.

You might also recreate your program with parameters that specify commitment control or SET OPTIONS for commitment control in the embedded SQL.

You can handle commitment control outside your program or have it be built into it. It could depend on what the overall commitment control environment is on your system.

Note that commitment control requires journaled files. I haven&#039;t tried it, but you might use the STRCMTCTL DFTJRN() parameter to assign a journal temporarily.

Tom]]></description>
		<content:encoded><![CDATA[<p><i>I am calling this pgm from command prompt&#8230;</i></p>
<p>You might run a STRCMTCTL LCKLVL(*CHG) command before calling your program. After the program ends, run a COMMIT or a ROLLBACK command depending on whether the program ended properly or failed. And finally, run ENDCMTCTL to stop commitment control.</p>
<p>You might create a basic CL program to wrap the new commands around a CALL to your program.</p>
<p>You might also recreate your program with parameters that specify commitment control or SET OPTIONS for commitment control in the embedded SQL.</p>
<p>You can handle commitment control outside your program or have it be built into it. It could depend on what the overall commitment control environment is on your system.</p>
<p>Note that commitment control requires journaled files. I haven&#8217;t tried it, but you might use the STRCMTCTL DFTJRN() parameter to assign a journal temporarily.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bernardcrappe</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/single-commitment-control/#comment-92175</link>
		<dc:creator>bernardcrappe</dc:creator>
		<pubDate>Tue, 17 May 2011 05:51:40 +0000</pubDate>
		<guid isPermaLink="false">#comment-92175</guid>
		<description><![CDATA[If you want to &quot;isolate&quot; these statements as a transaction, you could test this
&lt;ul&gt;
specify a commitment level on the compilation command 
specify a different activation group for the program
add rollback/commit statements  
&lt;/ul&gt;]]></description>
		<content:encoded><![CDATA[<p>If you want to &#8220;isolate&#8221; these statements as a transaction, you could test this</p>
<ul>
specify a commitment level on the compilation command<br />
specify a different activation group for the program<br />
add rollback/commit statements
</ul>
]]></content:encoded>
	</item>
	<item>
		<title>By: munduuu</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/single-commitment-control/#comment-92120</link>
		<dc:creator>munduuu</dc:creator>
		<pubDate>Fri, 13 May 2011 16:21:25 +0000</pubDate>
		<guid isPermaLink="false">#comment-92120</guid>
		<description><![CDATA[Tom, I am calling this pgm from command prompt and this is *PGM object .Commitment control is *none]]></description>
		<content:encoded><![CDATA[<p>Tom, I am calling this pgm from command prompt and this is *PGM object .Commitment control is *none</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/single-commitment-control/#comment-92091</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Thu, 12 May 2011 19:20:32 +0000</pubDate>
		<guid isPermaLink="false">#comment-92091</guid>
		<description><![CDATA[There are a few possible choices depending on the structure of the job. Starting point might be a description of any existing commitment control.

Is commitment control already in use in this system? Is it active when this program is called?

Next, how is this program called?

What calls this program? Is it called by some program or module that you can change? And is this a *PGM or is it a *MODULE or *SRVPGM?

Finally, how was this program compiled?

What was used for the COMMIT() parameter on the compile command? If you run DSPPGM against this program and take option 5=&#039;Display&#039; against the module, what shows for &#039;Commitment control&#039; in the &quot;DB2 UDB for i5/OS module attributes:&quot; section?

Tom]]></description>
		<content:encoded><![CDATA[<p>There are a few possible choices depending on the structure of the job. Starting point might be a description of any existing commitment control.</p>
<p>Is commitment control already in use in this system? Is it active when this program is called?</p>
<p>Next, how is this program called?</p>
<p>What calls this program? Is it called by some program or module that you can change? And is this a *PGM or is it a *MODULE or *SRVPGM?</p>
<p>Finally, how was this program compiled?</p>
<p>What was used for the COMMIT() parameter on the compile command? If you run DSPPGM against this program and take option 5=&#8217;Display&#8217; against the module, what shows for &#8216;Commitment control&#8217; in the &#8220;DB2 UDB for i5/OS module attributes:&#8221; section?</p>
<p>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 3/10 queries in 0.040 seconds using memcached
Object Caching 309/315 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-06-19 15:38:27 -->