<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://m204wiki.rocketsoftware.com/index.php?action=history&amp;feed=atom&amp;title=Fast%2FReload_procedure_handling</id>
	<title>Fast/Reload procedure handling - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://m204wiki.rocketsoftware.com/index.php?action=history&amp;feed=atom&amp;title=Fast%2FReload_procedure_handling"/>
	<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=Fast/Reload_procedure_handling&amp;action=history"/>
	<updated>2026-05-14T03:05:32Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://m204wiki.rocketsoftware.com/index.php?title=Fast/Reload_procedure_handling&amp;diff=83006&amp;oldid=prev</id>
		<title>JAL: link repair</title>
		<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=Fast/Reload_procedure_handling&amp;diff=83006&amp;oldid=prev"/>
		<updated>2016-02-29T16:57:28Z</updated>

		<summary type="html">&lt;p&gt;link repair&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:57, 29 February 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l27&quot;&gt;Line 27:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 27:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;li&amp;gt;Set the &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;Model 204&amp;lt;/var&amp;gt; parameter &amp;lt;var&amp;gt;[[MINBUF parameter|MINBUF]]&amp;lt;/var&amp;gt; to at least 10000.&amp;lt;/li&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;li&amp;gt;Set the &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;Model 204&amp;lt;/var&amp;gt; parameter &amp;lt;var&amp;gt;[[MINBUF parameter|MINBUF]]&amp;lt;/var&amp;gt; to at least 10000.&amp;lt;/li&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;li&amp;gt;Set the &amp;lt;var&amp;gt;[[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;LDBKMWND &lt;/del&gt;parameter|&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;LDBKMWND&lt;/del&gt;]]&amp;lt;/var&amp;gt; parameter to at least 30.&amp;lt;/li&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;li&amp;gt;Set the &amp;lt;var&amp;gt;[[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;LDKBMWND &lt;/ins&gt;parameter|&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;LDKBMWND&lt;/ins&gt;]]&amp;lt;/var&amp;gt; parameter to at least 30.&amp;lt;/li&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/ul&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/ul&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>JAL</name></author>
	</entry>
	<entry>
		<id>https://m204wiki.rocketsoftware.com/index.php?title=Fast/Reload_procedure_handling&amp;diff=82839&amp;oldid=prev</id>
		<title>Admin: 1 revision: from Stage</title>
		<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=Fast/Reload_procedure_handling&amp;diff=82839&amp;oldid=prev"/>
		<updated>2016-02-19T01:41:12Z</updated>

		<summary type="html">&lt;p&gt;1 revision: from Stage&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 01:41, 19 February 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://m204wiki.rocketsoftware.com/index.php?title=Fast/Reload_procedure_handling&amp;diff=82838&amp;oldid=prev</id>
		<title>JAL: add category</title>
		<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=Fast/Reload_procedure_handling&amp;diff=82838&amp;oldid=prev"/>
		<updated>2016-02-19T01:26:26Z</updated>

		<summary type="html">&lt;p&gt;add category&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The &amp;lt;var&amp;gt;[[Fast/Unload Extraction Language (FUEL)#UNLOAD ALL INFORMATION or UAI|UAI]]&amp;lt;/var&amp;gt; and &amp;lt;var&amp;gt;[[Fast/Reload statements#laistmt|LAI]]&amp;lt;/var&amp;gt; statements support the&lt;br /&gt;
reorganization of procedures and procedure aliases.&lt;br /&gt;
Procedures and aliases present in the TAPEI input data set for a &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;Fast/Reload&amp;lt;/var&amp;gt; run&lt;br /&gt;
are loaded as is by &amp;lt;var&amp;gt;LAI&amp;lt;/var&amp;gt; by default.&lt;br /&gt;
The &amp;lt;var&amp;gt;UAI&amp;lt;/var&amp;gt; unload and &amp;lt;var&amp;gt;LAI&amp;lt;/var&amp;gt; reload preserve their associations.&lt;br /&gt;
&lt;br /&gt;
If procedure or alias names clash with names in the target file, the reload stops.&lt;br /&gt;
If you want the unloaded procedures and aliases not to be reloaded, you&lt;br /&gt;
specify the &amp;lt;var&amp;gt;NOPROCS&amp;lt;/var&amp;gt; option of the &amp;lt;var&amp;gt;LAI&amp;lt;/var&amp;gt; statement.&lt;br /&gt;
&lt;br /&gt;
The procedure reloading feature likely entails some environmental adjustments&lt;br /&gt;
(especially more storage buffers), and it offers an automatic tuning of&lt;br /&gt;
the target file&amp;#039;s procedure dictionary settings.&lt;br /&gt;
&lt;br /&gt;
==Preparing the environment==&lt;br /&gt;
When you are &amp;lt;var&amp;gt;LAI&amp;lt;/var&amp;gt;-reloading a file that has procedures, take into consideration the&lt;br /&gt;
following recommendations:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;More CSECTs are required than in the typical BATCH204 module.&lt;br /&gt;
&amp;lt;li&amp;gt;Instead of maintaining separate BATCH204 and ONLINE modules,&lt;br /&gt;
combine their CSECTs into a single ONLINE module, and use that for &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;Fast/Reload&amp;lt;/var&amp;gt;.&lt;br /&gt;
&amp;lt;li&amp;gt;Ensure sufficient disk buffers to minimize the elapsed time for the reload:&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
If your storage capacity is plentiful, 10,000 to 15,000 buffers&lt;br /&gt;
should ensure maximum throughput.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Set the &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;Model 204&amp;lt;/var&amp;gt; parameter &amp;lt;var&amp;gt;[[MINBUF parameter|MINBUF]]&amp;lt;/var&amp;gt; to at least 10000.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Set the &amp;lt;var&amp;gt;[[LDBKMWND parameter|LDBKMWND]]&amp;lt;/var&amp;gt; parameter to at least 30.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if storage capacity is a concern, set the &amp;lt;var&amp;gt;[[MAXBUF parameter|MAXBUF]]&amp;lt;/var&amp;gt; parameter&lt;br /&gt;
to the number of pages in the unloaded procedure dictionary, plus some overhead:&lt;br /&gt;
&amp;lt;p class=&amp;quot;code&amp;quot;&amp;gt;MAXBUF = PDpgs + LDKBMWND + 50 + min(10, nprocs) * avgProcpgs&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;PDpgs&amp;lt;/code&amp;gt; (total number of pages in the unloaded procedure&lt;br /&gt;
dictionary), &amp;lt;code&amp;gt;nprocs&amp;lt;/code&amp;gt; (number of unloaded procedures),&lt;br /&gt;
and &amp;lt;code&amp;gt;avgProcpgs&amp;lt;/code&amp;gt; (average procedure length in pages)&lt;br /&gt;
are available from the &amp;lt;var&amp;gt;[[Fast/Unload program parameters#fstp|FSTATS]]&amp;lt;/var&amp;gt; statistics in the &amp;lt;var&amp;gt;UAI&amp;lt;/var&amp;gt; report data set.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;The &amp;lt;var&amp;gt;LDKBMWND&amp;lt;/var&amp;gt; parameter is set to at least 30.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Setting PDSIZE==&lt;br /&gt;
Procedure loading includes an automatic &amp;lt;var&amp;gt;[[PDSIZE parameter|PDSIZE]]&amp;lt;/var&amp;gt;-setting feature.&lt;br /&gt;
This auto-sizing is weighted toward creating a new procedure dictionary&lt;br /&gt;
whose total size is nearly the same as the old, but which typically is a&lt;br /&gt;
product of a larger &amp;lt;var&amp;gt;PDSIZE&amp;lt;/var&amp;gt; and fewer procedure dictionary chunks&lt;br /&gt;
(blocks of contiguous pages) than the old.&lt;br /&gt;
&lt;br /&gt;
The sizing feature is invoked only when you are loading into a file that has no&lt;br /&gt;
procedures, the file&amp;#039;s &amp;lt;var&amp;gt;PDSIZE&amp;lt;/var&amp;gt; value is the default size (3),&lt;br /&gt;
and the number of pages of &amp;lt;var&amp;gt;UAI&amp;lt;/var&amp;gt; unloaded procedures and aliases&lt;br /&gt;
is greater than the default &amp;lt;var&amp;gt;PDSIZE&amp;lt;/var&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
When the preceding conditions exist, the &amp;lt;var&amp;gt;PDSIZE&amp;lt;/var&amp;gt; of the reload target file is set&lt;br /&gt;
to one of the following:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;The number of pages in the unloaded file&amp;#039;s procedure dictionary,&lt;br /&gt;
if that number of pages is less than or equal to 255.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;The smallest number less than 255 that will yield the smallest number of&lt;br /&gt;
page chunks, if the number of pages in the unloaded procedure dictionary exceeds 255.&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
To arrive at these smallest numbers, (the rounded-up, integral&lt;br /&gt;
result of) the number of pages in the unloaded procedure dictionary is&lt;br /&gt;
divided by the initial number of chunks in the new dictionary.&lt;br /&gt;
This chunks value is the quotient of the old page count and 255,&lt;br /&gt;
rounded up to the next integral value.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example, for an unloaded dictionary that has 800 pages, the new chunk&lt;br /&gt;
count would be 4 (&amp;lt;code&amp;gt;800/255&amp;lt;/code&amp;gt;, then rounded up), and the new &amp;lt;var&amp;gt;PDSIZE&amp;lt;/var&amp;gt; would be&lt;br /&gt;
200 (&amp;lt;code&amp;gt;800/4&amp;lt;/code&amp;gt;).&lt;br /&gt;
For an unloaded dictionary that has 1332 pages, the new chunk&lt;br /&gt;
count would be 6, and the new &amp;lt;var&amp;gt;PDSIZE&amp;lt;/var&amp;gt; would be 222.&lt;br /&gt;
&lt;br /&gt;
The target file&amp;#039;s existing value for &amp;lt;var&amp;gt;PDSIZE&amp;lt;/var&amp;gt; is used in any of the following cases:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;A procedure dictionary already exists.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;var&amp;gt;PDSIZE&amp;lt;/var&amp;gt; is already set to a value other than 3.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;The unloaded procedures and aliases used no more than 3 pages.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p class=&amp;quot;note&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; The &amp;lt;var&amp;gt;PDSIZE&amp;lt;/var&amp;gt; optimization feature is only activated if the &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;Fast/Unload&amp;lt;/var&amp;gt;&lt;br /&gt;
user has the &amp;lt;var&amp;gt;[[Fast/Unload program parameters#fstp|FSTATS]]&amp;lt;/var&amp;gt; feature enabled.&lt;br /&gt;
If &amp;lt;var&amp;gt;FSTATS&amp;lt;/var&amp;gt; is &amp;lt;i&amp;gt;not&amp;lt;/i&amp;gt; enabled, necessary optimization information is not written to the unloaded data set.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Template:Fast/Reload topic list}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Fast/Reload]]&lt;/div&gt;</summary>
		<author><name>JAL</name></author>
	</entry>
</feed>