FILEORG parameter: Difference between revisions
No edit summary |
No edit summary |
||
Line 28: | Line 28: | ||
<td>Enhanced data handling files. | <td>Enhanced data handling files. | ||
<p> | <p> | ||
Enables a number of enhancements to the file structure, including support for [[Field_Group_(File_Architecture)| physical field groups]]; the definition of up to 32000 fields in a file; system maintained [[ | Enables a number of enhancements to the file structure, including support for [[Field_Group_(File_Architecture)| physical field groups]]; the definition of up to 32000 fields in a file; system maintained [[Field design (File management)#Automatic fields|automatic fields]]; [[Field design (File management)#Field constraints|field constraints]] providing content validation; and improved space management of fields containing [[Field design (File management)#BLOB.2C_CLOB_and_MINLOBE_attributes|Large objects]]. </p> | ||
<p>FILEORG=X'100' files cannot be accessed via FLOD or FILELOAD. </p> | <p>FILEORG=X'100' files cannot be accessed via FLOD or FILELOAD. </p> | ||
<p> | <p> |
Revision as of 19:39, 16 December 2013
File organization
Summary
- Default value
- 0
- Parameter type
- File
- Where set
- During file creation
- Related products
- All
- Introduced
- Model 204 V6.1 or earlier
Description
The file (Table B) organization.
Valid settings of FILEORG are:
Setting | Meaning |
---|---|
X'200' | Large file support.
Allows files to hold up to 48 million records. Available in Model 204 V7.5. |
X'100' | Enhanced data handling files.
Enables a number of enhancements to the file structure, including support for physical field groups; the definition of up to 32000 fields in a file; system maintained automatic fields; field constraints providing content validation; and improved space management of fields containing Large objects. FILEORG=X'100' files cannot be accessed via FLOD or FILELOAD. If FILEORG=X'100' is selected, the X'80' option is automatically set. Available in Model 204 V7.5. |
X'80' | Optimized field extraction files.
All nonpreallocated (non-OCCURS) fields are preceded by a field-value length byte. With a length byte on every field, even FLOAT, CODED or BINARY fields, several instructions and one IF test are eliminated from the internal field scan loop. Having a length byte also allows some simple compression of BINARY, CODED, and FLOAT values. Files created with FILEORG=X'80' cannot be opened in Model 204 version 6.1 or earlier. This option is automatically set if FILEORG=X'100' is selected. |
X'40' | File skewing enabled.
Note: This option is obsolete and no longer recommended by Rocket. |
X'20' | Unordered file. |
X'08' | Hash key file. |
X'04' | Reuse record number (RRN).
This option can be added to any other FILEORG option. If this option is set without the hash key (X'08') or sorted (X'01') options, the unordered option (X'20') is automatically set. |
X'02' | Sort or hash key required in every record.
This option can be added to the X'08' and X'01' options. |
X'01' | Sorted file. |
X'00' | Entry order file. |