FISTAT parameter: Difference between revisions

From m204wiki
Jump to navigation Jump to search
Line 23: Line 23:
</table>
</table>


<p class="note"><b>Note:</b> When a file is opened, bits that are not currently defined by Rocket Software for FISTAT are reset. This bit resetting is designed to set aside these bits for features of future <var class="product">Model&nbsp;204</var> releases. You cannot use the RESET command to set undefined bits, as if an application was to make use of any of the undefined bits of the FISTAT parameter, it might produce unexpected results. </p>
<p class="note"><b>Note:</b> When a file is opened, bits that are not currently defined by Rocket Software for FISTAT are reset. This bit resetting is designed to set aside these bits for features of future <var class="product">Model&nbsp;204</var> releases. You cannot use the <var>[[RESET_command|RESET]]</var> command to set undefined bits, as if an application was to make use of any of the undefined bits of the FISTAT parameter, it might produce unexpected results. </p>


<p>As of Model 204 version 7.5, FISTAT X'08' will be automatically cleared in a <var>[[Transaction_back_out|TBO]]</var> file if <var>[[Table_D_(File_architecture)|table D]]</var> is increased enough so that [[DSIZE parameter|DSIZE]] is greater than or equal to [[DPGSRES parameter|DPGSRES]]+[[DPGSUSED parameter|DPGSUSED]].</p>
<p>As of Model 204 version 7.5, FISTAT X'08' will be automatically cleared in a <var>[[Transaction_back_out|TBO]]</var> file if <var>[[Table_D_(File_architecture)|table D]]</var> is increased enough so that [[DSIZE parameter|DSIZE]] is greater than or equal to [[DPGSRES parameter|DPGSRES]]+[[DPGSUSED parameter|DPGSUSED]].</p>

Revision as of 15:11, 23 October 2014

Current status of file

Class
FPARMS
Setting
By Model 204 or reset by file manager
Meaning
The current status of the file

Description

Valid settings of FISTAT (options can be summed) are:

SettingMeaning
X'40'File might be logically inconsistent.
X'20'File is in deferred update mode.
X'10'File has been recovered.
X'08'File is full.
X'02'File is physically inconsistent.

Note: Never reset the FISTAT parameter if the file is physically inconsistent.

X'01'File is not initialized.

Note: When a file is opened, bits that are not currently defined by Rocket Software for FISTAT are reset. This bit resetting is designed to set aside these bits for features of future Model 204 releases. You cannot use the RESET command to set undefined bits, as if an application was to make use of any of the undefined bits of the FISTAT parameter, it might produce unexpected results.

As of Model 204 version 7.5, FISTAT X'08' will be automatically cleared in a TBO file if table D is increased enough so that DSIZE is greater than or equal to DPGSRES+DPGSUSED.