{"id":4894,"date":"2017-05-25T23:23:13","date_gmt":"2017-05-26T06:23:13","guid":{"rendered":"https:\/\/alt2.minisoft.com\/support\/?p=4894"},"modified":"2022-01-05T09:24:18","modified_gmt":"2022-01-05T17:24:18","slug":"troubleshooting-missing-or-lost-data-on-iseries","status":"publish","type":"post","link":"https:\/\/www.minisoft.com\/support\/troubleshooting-missing-or-lost-data-on-iseries\/","title":{"rendered":"Troubleshooting: Missing or Lost Data on iSeries [Handle CPF33D7 from *IMMED on AS400]"},"content":{"rendered":"\n<p>eFORMz on iSeries systems waits to process files until the spool file&#8217;s SCHEDULE parameter is set to <strong>*IMMED<\/strong>. In the interest of processing speed, some Vendors set <strong>*IMMED<\/strong> when the file is created rather than setting it to *FILEEND and changing it to *IMMED after the file is finished writing (Example: MMLABELW) . As a result, a chance exists that the eFORMz Director&#8217;s Queue Monitor can pick a file for processing before it is finished writing, resulting in missing data without an apparent cause or errors in the eFORMz log file.<\/p>\n\n\n\n<p>Sample Error message:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Error reading spoolfile CPF33D7 Requested number of buffers not returned.<\/pre>\n\n\n\n<p>Another error mesage:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">com.minisoft.exceptions.ProcessingException: Error reading spoolfile<br>CPF33D7 Requested number of buffers not returned.<br>com.minisoft.HostTools.AS400.SpoolfileViewer.openSpoolfile(Unknown Source)<br>com.minisoft.Input.iSeriesSpoolFileInputSource.initialize(Unknown Source)<br>com.minisoft.Input.DataFile.initialize(Unknown Source)<br>com.minisoft.Output.OutputGenerator.a(Unknown Source)<br>com.minisoft.Output.OutputGenerator.GenerateOutput(Unknown Source)<\/pre>\n\n\n\n<p>You can implement one of the following steps to avoid this potential problems:<\/p>\n\n\n\n<ul><li><strong>Upgrade to eFORMz version 11.03.12 and later\u00a0<\/strong><\/li><li>Use an iSeries writer to send the spool file to a listener queue.<\/li><li>Use an aged file selector in the eFORMz Director.<\/li><li>Add a Project Parser Option (Project Properties > Data Parsing > ZPL) of a Start Delay. Values in milliseconds.<br>Example: Start Delay = 2000, Read Timeout = 2000, Max Size = 1000000<\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>eFORMz on iSeries systems waits to process files until the spool file&#8217;s SCHEDULE parameter is set to *IMMED. In the interest of processing speed, some Vendors set *IMMED when the file is created rather than setting it to *FILEEND and changing it to *IMMED after the file is finished writing (Example: MMLABELW) . As a [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[186,15],"tags":[611,189,187,188,605],"_links":{"self":[{"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/4894"}],"collection":[{"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/comments?post=4894"}],"version-history":[{"count":9,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/4894\/revisions"}],"predecessor-version":[{"id":9866,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/4894\/revisions\/9866"}],"wp:attachment":[{"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/media?parent=4894"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/categories?post=4894"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/tags?post=4894"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}