FISTAT parameter: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (misc cleanup)
(added FISTAT=0 table entry)
 
Line 32: Line 32:
<tr><th align="right"><var> X'01'</var></th>
<tr><th align="right"><var> X'01'</var></th>
<td>File is not [[INITIALIZE command|initialized]]. </td></tr>
<td>File is not [[INITIALIZE command|initialized]]. </td></tr>
<tr><th align="right"><var> X'00'</var></th>
<td>File is logically and physically consistent. </td></tr>
</table>
</table>



Latest revision as of 22:27, 2 July 2018

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 FISTAT if the file is physically inconsistent.

X'01' File is not initialized.
X'00' File is logically and physically consistent.

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' is automatically cleared in a TBO file if Table D is increased enough so that DSIZE is greater than or equal to DPGSRES+DPGSUSED.