<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://try-as400.pocnet.net/index.php?action=history&amp;feed=atom&amp;title=Wrkprb_needs_long_time_to_start</id>
	<title>Wrkprb needs long time to start - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://try-as400.pocnet.net/index.php?action=history&amp;feed=atom&amp;title=Wrkprb_needs_long_time_to_start"/>
	<link rel="alternate" type="text/html" href="http://try-as400.pocnet.net/index.php?title=Wrkprb_needs_long_time_to_start&amp;action=history"/>
	<updated>2026-05-05T21:00:11Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>http://try-as400.pocnet.net/index.php?title=Wrkprb_needs_long_time_to_start&amp;diff=886&amp;oldid=prev</id>
		<title>PoC: Typo</title>
		<link rel="alternate" type="text/html" href="http://try-as400.pocnet.net/index.php?title=Wrkprb_needs_long_time_to_start&amp;diff=886&amp;oldid=prev"/>
		<updated>2020-07-25T10:57:32Z</updated>

		<summary type="html">&lt;p&gt;Typo&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 12:57, 25 July 2020&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-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&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;Over time, it might become apparent that &amp;#039;&amp;#039;&amp;#039;Wrkprb needs longer time to start&amp;#039;&amp;#039;&amp;#039;, especially if the problem handling facility was used heavily on a slow machine.&amp;lt;ref&amp;gt;Like a 150.&amp;lt;/ref&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;Over time, it might become apparent that &amp;#039;&amp;#039;&amp;#039;Wrkprb needs longer time to start&amp;#039;&amp;#039;&amp;#039;, especially if the problem handling facility was used heavily on a slow machine.&amp;lt;ref&amp;gt;Like a 150.&amp;lt;/ref&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;This stems from the fact that the used database files grow indefinitely, because they were created with the flag &#039;&#039;REUSEDLT&#039;&#039; disabled. That means, deleted records stay forever, but cannot be accessed. In my case, the PF &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;hat &lt;/del&gt;36&amp;amp;thinsp;MiB, and the accompanying LF 24&amp;amp;thinsp;MiB.&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;This stems from the fact that the used database files grow indefinitely, because they were created with the flag &#039;&#039;REUSEDLT&#039;&#039; disabled. That means, deleted records stay forever, but cannot be accessed. In my case, the PF &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;had &lt;/ins&gt;36&amp;amp;thinsp;MiB, and the accompanying LF 24&amp;amp;thinsp;MiB.&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;&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;A possible solution would be to use &amp;#039;&amp;#039;RGZPFM&amp;#039;&amp;#039; to reorganise the database file. But the command refuses to work on an empty database file.&amp;lt;ref&amp;gt;One with no records, that is.&amp;lt;/ref&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;A possible solution would be to use &amp;#039;&amp;#039;RGZPFM&amp;#039;&amp;#039; to reorganise the database file. But the command refuses to work on an empty database file.&amp;lt;ref&amp;gt;One with no records, that is.&amp;lt;/ref&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key tryas400:diff:1.41:old-885:rev-886:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>PoC</name></author>
	</entry>
	<entry>
		<id>http://try-as400.pocnet.net/index.php?title=Wrkprb_needs_long_time_to_start&amp;diff=885&amp;oldid=prev</id>
		<title>PoC: 1150</title>
		<link rel="alternate" type="text/html" href="http://try-as400.pocnet.net/index.php?title=Wrkprb_needs_long_time_to_start&amp;diff=885&amp;oldid=prev"/>
		<updated>2020-07-25T10:56:15Z</updated>

		<summary type="html">&lt;p&gt;1150&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 12:56, 25 July 2020&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-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&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;Over time, it might become apparent that &#039;&#039;&#039;Wrkprb needs longer time to start&#039;&#039;&#039;, especially if the problem handling facility was used heavily.&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;Over time, it might become apparent that &#039;&#039;&#039;Wrkprb needs longer time to start&#039;&#039;&#039;, especially if the problem handling facility was used heavily &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;on a slow machine&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;ref&amp;gt;Like a 150.&amp;lt;/ref&amp;gt;&lt;/ins&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;&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;This stems from the fact that the used database files grow indefinitely, because they were created with the flag &amp;#039;&amp;#039;REUSEDLT&amp;#039;&amp;#039; disabled. That means, deleted records stay forever, but cannot be accessed. In my case, the PF hat 36&amp;amp;thinsp;MiB, and the accompanying LF 24&amp;amp;thinsp;MiB.&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;This stems from the fact that the used database files grow indefinitely, because they were created with the flag &amp;#039;&amp;#039;REUSEDLT&amp;#039;&amp;#039; disabled. That means, deleted records stay forever, but cannot be accessed. In my case, the PF hat 36&amp;amp;thinsp;MiB, and the accompanying LF 24&amp;amp;thinsp;MiB.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>PoC</name></author>
	</entry>
	<entry>
		<id>http://try-as400.pocnet.net/index.php?title=Wrkprb_needs_long_time_to_start&amp;diff=884&amp;oldid=prev</id>
		<title>PoC: New</title>
		<link rel="alternate" type="text/html" href="http://try-as400.pocnet.net/index.php?title=Wrkprb_needs_long_time_to_start&amp;diff=884&amp;oldid=prev"/>
		<updated>2020-07-24T13:37:50Z</updated>

		<summary type="html">&lt;p&gt;New&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Over time, it might become apparent that &amp;#039;&amp;#039;&amp;#039;Wrkprb needs longer time to start&amp;#039;&amp;#039;&amp;#039;, especially if the problem handling facility was used heavily.&lt;br /&gt;
&lt;br /&gt;
This stems from the fact that the used database files grow indefinitely, because they were created with the flag &amp;#039;&amp;#039;REUSEDLT&amp;#039;&amp;#039; disabled. That means, deleted records stay forever, but cannot be accessed. In my case, the PF hat 36&amp;amp;thinsp;MiB, and the accompanying LF 24&amp;amp;thinsp;MiB.&lt;br /&gt;
&lt;br /&gt;
A possible solution would be to use &amp;#039;&amp;#039;RGZPFM&amp;#039;&amp;#039; to reorganise the database file. But the command refuses to work on an empty database file.&amp;lt;ref&amp;gt;One with no records, that is.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Another possibility is to delete and recreate the &amp;#039;&amp;#039;members&amp;#039;&amp;#039; of the files in question. Members are bound to the record structure laid out in the file itself. So deleting and re-adding file members does no harm except getting rid of all the deleted records.&lt;br /&gt;
&lt;br /&gt;
 RMVM FILE(QUSRSYS/QASXPROB2) MBR(QASXPROB2)&lt;br /&gt;
 RMVM FILE(QUSRSYS/QASXPROB) MBR(QASXPROB)&lt;br /&gt;
 ADDPFM FILE(QUSRSYS/QASXPROB) MBR(QASXPROB)&lt;br /&gt;
 ADDLFM FILE(QUSRSYS/QASXPROB2) MBR(QASXPROB2)&lt;br /&gt;
&lt;br /&gt;
To prevent this from happening again, allow the OS to reuse allocated space.&lt;br /&gt;
&lt;br /&gt;
 CHGPF FILE(QUSRSYS/QASXPROB) REUSEDLT(*YES)&amp;lt;ref&amp;gt;Since there&amp;#039;s no &amp;#039;&amp;#039;reusedlt&amp;#039;&amp;#039; parameter for &amp;#039;&amp;#039;CHGLF&amp;#039;&amp;#039;, I wonder why the index needed so much space.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This approach applies also to any other database file showing significant slowdown over time.&lt;br /&gt;
&lt;br /&gt;
== Footnotes ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category: System Administration‏‎]]&lt;/div&gt;</summary>
		<author><name>PoC</name></author>
	</entry>
</feed>