Resetting file parameters with FILEMGMT: Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<p>You use the Reset screens to change the values of <var class="product">Model&nbsp;204</var> file parameters that you originally set on the File Definition screens or the File Size Definition screen. FILEMGMT stages the file for a RESET command in response to your input.</p>
<p>
<p>The Reset screens display the file parameters that can be reset. File parameters not displayed on the Reset screens can be changed only by recreating the file.</p>
You use the Reset screens to change the values of <var class="product">Model&nbsp;204</var> file parameters that you originally set on the File Definition screens or the [[Managing file and table size with FILEMGMT#Sizing a new file|File Size Definition screen]]. FILEMGMT stages the file for a <var>RESET</var> command in response to your input.</p>
<p>
The Reset screens display the file parameters that can be reset. File parameters not displayed on the Reset screens can be changed only by recreating the file.</p>
 
==Resetting file parameters==
==Resetting file parameters==
<p>Select the FILE Maintenance RESET function (number 2) from the primary screen. FILEMGMT displays the first of the two Reset screens, the File Parameter Reset screen: </p>
<p>
<ul>
Select the File Maintenance <b>RESET</b> function (number 2) from the primary screen. FILEMGMT displays the File Parameter Reset screen, the first of the two Reset screens: </p>
<li>File Parameter Reset screen:
<p class="caption" style="margin-right:18em">File Parameter Reset screen</p>
<table>
 
<tr>
<table style="margin-left:2em">
<td>
<tr><td>
<p class="code">
<p class="code">FILEMGMT                File Parameter Reset Screen      Page 1 of 2
FILEMGMT                File Parameter Reset               Page 1 of 2


Filename: METADATA    FICREATE: 7.1  LANGUAGE: US        Inactive
Filename: METADATA    FICREATE: 7.1  LANGUAGE: US        Inactive
Line 19: Line 21:
Table D Auto Increase: Pages: __
Table D Auto Increase: Pages: __
Table X Auto Increase: Pages: __
Table X Auto Increase: Pages: __
BRSV: 200    DRSV: 15 % DPGSRES: 2      XRSV:      BREUSE:
BRSV: 200    DRSV: 15 % DPGSRES: 2      XRSV:      BREUSE:
FILE OPTIONS:                                             FOPT    X' 00 '
 
FILE OPTIONS:                                           FOPT    X' 00 '
   Disable Lock Pending Updates: _  Only FM Defines New Fields:    _
   Disable Lock Pending Updates: _  Only FM Defines New Fields:    _
   No Procedure Statement Labels:_  No Procedure Statement Numbers: _
   No Procedure Statement Labels:_  No Procedure Statement Numbers: _
   Enable Date Time Stamp:      N
   Enable Date Time Stamp:      N
FILE RECOVERY OPTIONS                                 FRCVOPT  X' 00 '
 
FILE RECOVERY OPTIONS                                   FRCVOPT  X' 00 '
   Disable Transaction Backout:  _  No Rollforward (RF):            _
   Disable Transaction Backout:  _  No Rollforward (RF):            _
   No RF Logging:                _  No Checkpoint (CK) Logging:    _
   No RF Logging:                _  No Checkpoint (CK) Logging:    _
   No Updates Without RF Logging:_  No Updates Without CK Logging:  _
   No Updates Without RF Logging:_  No Updates Without CK Logging:  _
   All Updates Applied During RF:_  No Discontinuities Allowed:    _
   All Updates Applied During RF:_  No Discontinuities Allowed:    _
<b></b>===>                                                               &lt;
 
FIM314 You have selected Datetime Stamp, hit PF11 to define attributes
<b></b>===>                                                                
 
1=HELp  2=        3=QUIt    4=FIELDs  5=            6=COMmands
1=HELp  2=        3=QUIt    4=FIELDs  5=            6=COMmands
7=      8=FORward  9=        10=      11=ATTributes  12=END
7=      8=FORward  9=        10=      11=ATTributes  12=END
Line 36: Line 42:
</tr>
</tr>
</table>
</table>
</li>
<br>
<li>File Security Reset screen
<p>
<p>Press PF8 (FORward) to display the File Security Reset screen:</p>
You can press F8 (FORward) to display the File Security Reset screen:</p>
</li>
<p class="caption" style="margin-right:18em">File Security Reset screen </p>
</ul>
<table style="margin-left:2em">
<table>
<tr><td>
<tr>
<p class="code">FILEMGMT                  File Security Reset Screen        Page 2 of 2
<td>
<p class="code">FILEMGMT                  File Security Reset               Page 2 of 2


  Filename: ABC                                                Inactive
  Filename: ABC                                                Inactive
  FILE ACCESS                                              OPENCTL X' 80 '
  FILE ACCESS                                              OPENCTL X' 80 '
   Public:          X    Semipublic:  _  Private:  _    Record Security:
   Public:          X    Semipublic:  _  Private:  _    Record Security:
  REMOTE FILE ACCESS PRIVILEGES
  REMOTE FILE ACCESS PRIVILEGES
   NO/INV PWD: _  VALID PWD: _  GROUP MEMBER: _
   NO/INV PWD: _  VALID PWD: _  GROUP MEMBER: _
  DEFAULT FILE PRIVILEGES                                  PRIVDEF X' BFFF '
  DEFAULT FILE PRIVILEGES                                  PRIVDEF X' BFFF '
   File Manager:    X    Record Security Override: _  View File Parms: X
   File Manager:    X    Record Security Override: _  View File Parms: X
Line 59: Line 66:
   INTERNAL PROCEDURES
   INTERNAL PROCEDURES
     Display/Copy:  X    Define:  X  Change:    X  Delete: X  Include: X
     Display/Copy:  X    Define:  X  Change:    X  Delete: X  Include: X
  DEFAULT FIELD LEVEL SECURITY
  DEFAULT FIELD LEVEL SECURITY
     SELLVL:        0    READLVL:  0  UPDTLVL:    0  ADDLVL: 0
     SELLVL:        0    READLVL:  0  UPDTLVL:    0  ADDLVL: 0


  DEFAULT PROCEDURE CLASS                PRCLDEF:    0
  DEFAULT PROCEDURE CLASS                PRCLDEF:    0
  ===>
   
===>


  1=HELp      2=          3=QUIt      4=          5=          6=COMmands
  1=HELp      2=          3=QUIt      4=          5=          6=COMmands
Line 71: Line 80:
</table>
</table>


<p>For some of the file parameters shown on the Reset screens, you specify an actual parameter value. For others, you select options, and FILEMGMT uses your selections to compute appropriate values for the FOPT, FRCVOPT, OPENCTL, and PRIVDEF parameters.</p>
<p>
<p>You need not fill in all values on all screens. Current parameter values are preserved for any parameters for which you do not enter values.</p>
For some of the file parameters shown on the Reset screens, you specify an actual parameter value. For others, you select options, and FILEMGMT uses your selections to compute appropriate values for the <var>[[FOPT parameter|FOPT]]</var>, <var>[[FRCVOPT parameter|FRCVOPT]]</var>, <var>[[OPENCTL parameter|OPENCTL]]</var>, and <var>[[PRIVDEF parameter|PRIVDEF]]</var> parameters.</p>
<p>You can move freely between the two Reset screens by pressing the PF7 (BACkward) and PF8 (FORward) keys. FILEMGMT does not save any of the information you enter until you press one of the following function keys from either of the screens:</p>
<p>
You need not fill in all values on all screens. Current parameter values are preserved for any parameters for which you do not enter values.</p>
<p>
You can move freely between the two Reset screens by pressing the F7 (BACkward) and F8 (FORward) keys. FILEMGMT does not save any of the information you enter until you press one of the following function keys from either of the screens:</p>
<table>
<table>
<tr>
<tr>
<td>PF6 </td>
<td>F6 </td>
<td>COMmands</td>
<td>COMmands</td>
</tr>
</tr>
<tr>
<tr>
<td>PF12</td>
<td>F12</td>
<td>END </td>
<td>END </td>
</tr>
</tr>
</table>
</table>
<p>The section [[#Input for the File Parameter Reset screen|Input for the File Parameter Reset screen]] describes the type of information you enter.  
<p>
The [[#Input for the File Parameter Reset screen|Input for the File Parameter Reset screen]] section describes the type of information you enter. </p>
<ul>
<ul>
<li>For more information about parameter settings, select the parameter you want from the [[List of Model 204 parameters|list of Model 204 parameters]].</li>
<li>For more information about parameter settings, select the parameter you want from the [[List of Model 204 parameters|list of Model 204 parameters]].</li>
<li>For a discussion of how to select the most appropriate options for your particular file, refer to [[File design (File management)]].</li>
 
</ul></p>
<li>For a discussion about how to select the most appropriate options for your particular file, refer to [[File design]].</li>
<p>The cursor is initially positioned at the first input prompt on the first screen.</p>
</ul>
<p>
The cursor is initially positioned at the first input prompt on the first screen.</p>
 
===Input for the File Parameter Reset screen===
===Input for the File Parameter Reset screen===
<p>You can select more than one option from an option category.</p>
<p>
<p>To select an option, type X or a numeric value.</p>
You can select more than one option from an option category.</p>
<p>To enter a null: type a space, press the ERASE EOF key, or preserve the default underscore character (_). Null indicates that you do not want to select the option. </p>
<p>
<p>Typing a character other than these is invalid, and produces an error message.</p>
To select an option, type <code>X</code> or a numeric value.</p>
<p>FILEMGMT displays and/or prompts you for the following information.</p>
<p>
<table>
To enter a null: type a space, or preserve the adjacent default underscore character (<tt>_</tt>). Null indicates that you do not want to select the option. </p>
<p>
Typing a character other than these is invalid, and produces an error message.</p>
<p>
FILEMGMT displays and/or prompts you for the following information:</p>
<table class="thJustBold">
<tr class="head">
<tr class="head">
<th>Prompt</th>
<th>Prompt</th>
<th>Response</th>
<th>Response</th>
</tr>
</tr>
<tr>
<tr>
<td>Filename</td>
<th>Filename</th>
<td>FILEMGMT displays the name of the file that you entered on the primary screen, and indicates whether the file is Active or Inactive. </td>
<td>FILEMGMT displays the name of the file that you entered on the [[Logging on to FILEMGMT#FILEMGMT primary screen|primary screen]], and indicates whether the file is <b>Active</b> or <b>Inactive</b>. </td>
</tr>
<tr>
<td colspan="2">Screen 1: File Parameter Reset screen </td>
</tr>
</tr>
<tr>
<tr>
<td>FICREATE</td>
<th>FICREATE</th>
<td><var class="product">Model&nbsp;204</var> version number for the file you are creating. FILEMGMT uses this value to calculate the file size and validate certain <var class="product">Model&nbsp;204</var> file features. </td>
<td><var class="product">Model&nbsp;204</var> version number for the file you are creating. FILEMGMT uses this value to calculate the file size and validate certain <var class="product">Model&nbsp;204</var> file features. </td>
</tr>
</tr>
<tr>
<tr>
<td>RDFS</td>
<th>RDFS</th>
<td>Reuse direct file space file. Prompted when the file has a pre-9.0 FICREATE and is an RDFS file (that is, entry-order reuse record numbers). </td>
<td>Reuse direct file space file. Prompted when the file is an RDFS file (that is, entry-order reuse record numbers). </td>
</tr>
</tr>
<tr>
<tr>
<td>Reuse First</td>
<th>Reuse First</th>
<td>For an RDFS file only. Record numbers are reused whenever possible by records as they are added. </td>
<td>For an RDFS file only. Record numbers are reused whenever possible by records as they are added. </td>
</tr>
</tr>
<tr>
<tr>
<td>Append First</td>
<th>Append First</th>
<td>For an RDFS file only. Record numbers are reused only when no remaining space is at the end of the table. </td>
<td>For an RDFS file only. Record numbers are reused only when no remaining space is at the end of the table. </td>
</tr>
</tr>
<tr>
<th>FILE MODEL OPTIONS</th>
<td>For more information about these, see [[Field attributes#File model feature|File model feature]] and [[FILEMODL parameter]].</td>
</tr>
<tr>
<th>TableB Auto Increase Pages</th>
<td>If you want <var class="product">Model&nbsp;204</var> to automatically increase Table B when it becomes full, enter the number of pages to add. The parameter <var>[[BAUTOINC parameter|BAUTOINC]]</var> is set to your specified value.</td>
</tr>
<tr>
<th>TableD Auto Increase Pages</th>
<td>If you want <var class="product">Model&nbsp;204</var> to automatically increase Table D when it becomes full, enter the number of pages to add.</td>
</tr>
<tr>
<tr>
<td>FILE MODEL OPTIONS</td>
<th>TableX Auto Increase Pages</th>
<td>These and the FILEMODL parameter are explained in the Rocket <var class="product">Model&nbsp;204</var> File Manager's Guide.</td>
<td>If you want <var class="product">Model&nbsp;204</var> to automatically increase Table X when it becomes full, enter the number of pages to add.</td>
</tr>
</tr>
<tr>
<tr>
<td>TableB Auto Inc</td>
<th>BRSV</th>
<td>Enter an x to select an option for automatic Table B increase. The default is None. </td>
<td>Specify <var>[[BRESERVE parameter|BRESERVE]]</var>, the number of bytes reserved for expansion on Table B pages. The maximum value is the value of <code>PAGESZ-40</code>. The default is 17. </td>
</tr>
</tr>
<tr>
<tr>
<td>Full</td>
<th>DRSV</th>
<td>Table B will be automatically increased when Table B fills up by the amount specified in the parameter BAUTOINC.</td>
<td>Specify <var>[[DRESERVE parameter|DRESERVE]]</var>, the percentage of space in a Table D page reserved for expansion. <var>DRESERVE</var> applies only to inversion pages. Valid values are 0-100. The default is 15. </td>
</tr>
</tr>
<tr>
<tr>
<td>At Open</td>
<th>DPGSRES</th>
<td>Table B will be automatically increased at file open time, if the increase using BAUTOINC pages would allow the last segment in the file to contain more than 25 percent of the number of records in one segment.</td>
<td>Specify <var>[[DPGSRES parameter|DPGSRES]]</var>, the number of pages in Table D held in reserve. The file is marked full when the first of the <var>DPGSRES</var> pages is used, but transaction backout processing is allowed to continue.
<p>
Valid values are 1-32767. <b>DPGSRES</b> must be less than the value of <var>[[DSIZE parameter|DSIZE]]</var>. The default is <code>DSIZE/50 + 2</code>; if <code>DSIZE/50 + 2</code> is greater than 40, the default is 40.</p>
</td>
</tr>
</tr>
<tr>
<tr>
<td>Pgs</td>
<th>XRSV</th>
<td>Enter the number of pages to increase Table B when the Full and/or At Open option is selected. BAUTOTYP is filled based on your selections. This sets the parameter BAUTOINC to the specified value.</td>
<td>Specify <var>[[XRESERVE parameter|XRESERVE]]</var>, the number of bytes of space in a Table X page reserved for expansion. Valid values are 0-6140. The default is 17. </td>
</tr>
</tr>
<tr>
<tr>
<td>TableD Auto Increase Pages</td>
<th>BREUSE</th>
<td>If you want <var class="product">Model&nbsp;204</var> to automatically increase Table D when it becomes full, enter the number of pages to add.</td>
<td>For an unordered file only. Specified as a percentage of space on a page; it determines which pages can hold another record. To be reused for storing another record, the page must have the following minimum number of bytes of free space:
<p class="code">(<i>usable_page_size</i> - BRESERVE)*BREUSE + BRESERVE
</p>
<p>
<var class="term">usable_page_size</var> is the size of the page minus overhead. The default is 20. </p>
</td>
</tr>
</tr>
<tr>
<tr>
<td>FILE OPTIONS</td>
<th>FILE OPTIONS</th>
<td>Select file characteristics for the specified file. FILEMGMT computes the new value of the <var class="product">Model&nbsp;204</var> FOPT parameter from your selections and displays the computed value.</td>
<td>Select file characteristics for the specified file. FILEMGMT computes the new value of the <var class="product">Model&nbsp;204</var> <var>FOPT</var> parameter from your selections, and it displays the computed value.</td>
</tr>
</tr>
<tr>
<tr>
<td>Disable Lock Pending Updates</td>
<th>Disable Lock Pending Updates</th>
<td>Lock pending updates feature is disabled. If this option is selected, Disable Transaction Backout must also be selected. The default is null.</td>
<td>Lock pending updates feature is disabled. If this option is selected, <b>Disable Transaction Backout</b> must also be selected. The default is null.</td>
</tr>
</tr>
<tr>
<tr>
<td>Only FM Defines New Fields </td>
<th>Only FM Defines New Fields </th>
<td>New fields in the <var class="product">Model&nbsp;204</var> file can be defined only by a user with file manager privileges. The default is null.</td>
<td>New fields in the <var class="product">Model&nbsp;204</var> file can be defined only by a user with file manager privileges. The default is null.</td>
</tr>
</tr>
<tr>
<tr>
<td>No Procedure Statement Numbers</td>
<th nowrap>No Procedure Statement Numbers</th>
<td>Statement numbers cannot be assigned to procedure lines. The default is null.</td>
<td>Statement numbers cannot be assigned to procedure lines. The default is null.</td>
</tr>
</tr>
<tr>
<tr>
<td>No Procedure Statement Labels </td>
<th>No Procedure Statement Labels </th>
<td>Statement labels cannot be assigned to procedure lines. The default is null.</td>
<td>Statement labels cannot be assigned to procedure lines. The default is null.</td>
</tr>
</tr>
<tr>
<tr>
<td>FILE RECOVERY OPTIONS </td>
<th>FILE RECOVERY OPTIONS </th>
<td>Select file recovery characteristics for the specified file. FILEMGMT computes a new value for the <var class="product">Model&nbsp;204</var> FRCVOPT parameter from your selections and displays the computed value.</td>
<td>Select file recovery characteristics for the specified file. FILEMGMT computes a new value for the <var class="product">Model&nbsp;204</var> <var>FRCVOPT</var> parameter from your selections and displays the computed value.</td>
</tr>
</tr>
<tr>
<tr>
<td>Disable Transaction Backout</td>
<th>Disable Transaction Backout</th>
<td>File does not use the <var class="product">Model&nbsp;204</var> transaction backout feature. This option is required if Disable Lock Pending Updates is selected. The default is null.</td>
<td>File does not use the <var class="product">Model&nbsp;204</var> transaction backout feature. This option is required if <b>Disable Lock Pending Updates</b> is selected. The default is null.</td>
</tr>
</tr>
<tr>
<tr>
<td>No Rollforward (RF)</td>
<th>No Rollforward (RF)</th>
<td>File does not use the roll forward facility of the RESTART command. The default is null.</td>
<td>File does not use the roll forward facility of the <var>[[RESTART command|RESTART]]</var> command. The default is null.</td>
</tr>
</tr>
<tr>
<tr>
<td>No RF Logging</td>
<th>No RF Logging</th>
<td><var class="product">Model&nbsp;204</var> does not log changes to the journal file. The default is null.</td>
<td><var class="product">Model&nbsp;204</var> does not log changes to the journal file. The default is null.</td>
</tr>
</tr>
<tr>
<tr>
<td>No Checkpoint (CK) Logging</td>
<th>No Checkpoint (CK) Logging</th>
<td><var class="product">Model&nbsp;204</var> does not log checkpoint information to the checkpoint data set. The default is null.</td>
<td><var class="product">Model&nbsp;204</var> does not log checkpoint information to the checkpoint data set. The default is null.</td>
</tr>
</tr>
<tr>
<tr>
<td>No Updates Without RF Logging</td>
<th>No Updates Without RF Logging</th>
<td>File is not updated unless roll forward logging is active. The default is null.</td>
<td>File is not updated unless roll forward logging is active. The default is null.</td>
</tr>
</tr>
<tr>
<tr>
<td>No Updates Without CK Logging</td>
<th>No Updates Without CK Logging</th>
<td>File is not updated unless checkpoint logging is active. The default is null.</td>
<td>File is not updated unless checkpoint logging is active. The default is null.</td>
</tr>
</tr>
<tr>
<tr>
<td>All Updates Applied During RF </td>
<th>All Updates Applied During RF </th>
<td>All updates to the file are applied when the file is rolled forward. The default is null.</td>
<td>All updates to the file are applied when the file is rolled forward. The default is null.</td>
</tr>
</tr>
<tr>
<tr>
<td>No Discontinuities Allowed </td>
<th>No Discontinuities Allowed </th>
<td>Only updates that do not result in discontinuities are applied to the file. The default is null.</td>
<td>Only updates that do not result in discontinuities are applied to the file. The default is null.</td>
</tr>
<tr>
<td>BRESERVE</td>
<td>Specify the number of bytes reserved for expansion on Table B pages. The maximum value is the value of PAGESZ-40. The default is 17. </td>
</tr>
<tr>
<td>DRESERVE</td>
<td>Specify the percentage of space in a Table D page reserved for expansion. DRESERVE applies only to inversion pages. Valid values are 0-100. The default is 15. </td>
</tr>
<tr>
<td>DPGSRES</td>
<td>
<p>Specify the number of pages in Table D held in reserve. The file is marked full when the first of the DPGSRES pages is used, but transaction backout processing is allowed to continue. </p>
<p>Valid values are 1-32767. DPGSRES must be less than the value of DSIZE. The default is DSIZE/50 + 2; if DSIZE/50 + 2 is greater than 40, the default is 40.</p>
</td>
</tr>
<tr>
<td>BREUSE</td>
<td>
<p>For an unordered file only. Specified as a percentage of space on a page; it determines which pages can hold another record. To be reused for storing another record, the page must have the following minimum bytes of free space: </p>
<p class="code">(usable page size - BRESERVE)*BREUSE + BRESERVE
</p>
<p>Usable page size is the size of the page minus overhead. The default is 20. </p>
</td>
</tr>
</tr>
</table>
</table>
<p>&nbsp;</p>
 
[[Category:File management]]
 
[[Category:FILEMGMT application subsystem]]
[[Category:FILEMGMT application subsystem]]

Latest revision as of 19:47, 12 August 2014

You use the Reset screens to change the values of Model 204 file parameters that you originally set on the File Definition screens or the File Size Definition screen. FILEMGMT stages the file for a RESET command in response to your input.

The Reset screens display the file parameters that can be reset. File parameters not displayed on the Reset screens can be changed only by recreating the file.

Resetting file parameters

Select the File Maintenance RESET function (number 2) from the primary screen. FILEMGMT displays the File Parameter Reset screen, the first of the two Reset screens:

File Parameter Reset screen

FILEMGMT File Parameter Reset Screen Page 1 of 2 Filename: METADATA FICREATE: 7.1 LANGUAGE: US Inactive FILE MODEL OPTIONS FILEMODL X' 00 ' None:X 1nf:_ Numeric Validation:_ TABLE B AND D AND X AUTOMATIC INCREASE OPTIONS: Table B Auto Increase: Pages: __ Table D Auto Increase: Pages: __ Table X Auto Increase: Pages: __ BRSV: 200 DRSV: 15 % DPGSRES: 2 XRSV: BREUSE: FILE OPTIONS: FOPT X' 00 ' Disable Lock Pending Updates: _ Only FM Defines New Fields: _ No Procedure Statement Labels:_ No Procedure Statement Numbers: _ Enable Date Time Stamp: N FILE RECOVERY OPTIONS FRCVOPT X' 00 ' Disable Transaction Backout: _ No Rollforward (RF): _ No RF Logging: _ No Checkpoint (CK) Logging: _ No Updates Without RF Logging:_ No Updates Without CK Logging: _ All Updates Applied During RF:_ No Discontinuities Allowed: _ ===> 1=HELp 2= 3=QUIt 4=FIELDs 5= 6=COMmands 7= 8=FORward 9= 10= 11=ATTributes 12=END


You can press F8 (FORward) to display the File Security Reset screen:

File Security Reset screen

FILEMGMT File Security Reset Screen Page 2 of 2 Filename: ABC Inactive FILE ACCESS OPENCTL X' 80 ' Public: X Semipublic: _ Private: _ Record Security: REMOTE FILE ACCESS PRIVILEGES NO/INV PWD: _ VALID PWD: _ GROUP MEMBER: _ DEFAULT FILE PRIVILEGES PRIVDEF X' BFFF ' File Manager: X Record Security Override: _ View File Parms: X RETRIEVE DATA WITH PROCEDURES Adhoc: X Internal: X External: X UPDATE DATA WITH PROCEDURES Adhoc: X Internal: X External: X INTERNAL PROCEDURES Display/Copy: X Define: X Change: X Delete: X Include: X DEFAULT FIELD LEVEL SECURITY SELLVL: 0 READLVL: 0 UPDTLVL: 0 ADDLVL: 0 DEFAULT PROCEDURE CLASS PRCLDEF: 0 ===> 1=HELp 2= 3=QUIt 4= 5= 6=COMmands 7=BACkward 8= 9= 10= 11= 12=END

For some of the file parameters shown on the Reset screens, you specify an actual parameter value. For others, you select options, and FILEMGMT uses your selections to compute appropriate values for the FOPT, FRCVOPT, OPENCTL, and PRIVDEF parameters.

You need not fill in all values on all screens. Current parameter values are preserved for any parameters for which you do not enter values.

You can move freely between the two Reset screens by pressing the F7 (BACkward) and F8 (FORward) keys. FILEMGMT does not save any of the information you enter until you press one of the following function keys from either of the screens:

F6 COMmands
F12 END

The Input for the File Parameter Reset screen section describes the type of information you enter.

  • For more information about parameter settings, select the parameter you want from the list of Model 204 parameters.
  • For a discussion about how to select the most appropriate options for your particular file, refer to File design.

The cursor is initially positioned at the first input prompt on the first screen.

Input for the File Parameter Reset screen

You can select more than one option from an option category.

To select an option, type X or a numeric value.

To enter a null: type a space, or preserve the adjacent default underscore character (_). Null indicates that you do not want to select the option.

Typing a character other than these is invalid, and produces an error message.

FILEMGMT displays and/or prompts you for the following information:

Prompt Response
Filename FILEMGMT displays the name of the file that you entered on the primary screen, and indicates whether the file is Active or Inactive.
FICREATE Model 204 version number for the file you are creating. FILEMGMT uses this value to calculate the file size and validate certain Model 204 file features.
RDFS Reuse direct file space file. Prompted when the file is an RDFS file (that is, entry-order reuse record numbers).
Reuse First For an RDFS file only. Record numbers are reused whenever possible by records as they are added.
Append First For an RDFS file only. Record numbers are reused only when no remaining space is at the end of the table.
FILE MODEL OPTIONS For more information about these, see File model feature and FILEMODL parameter.
TableB Auto Increase Pages If you want Model 204 to automatically increase Table B when it becomes full, enter the number of pages to add. The parameter BAUTOINC is set to your specified value.
TableD Auto Increase Pages If you want Model 204 to automatically increase Table D when it becomes full, enter the number of pages to add.
TableX Auto Increase Pages If you want Model 204 to automatically increase Table X when it becomes full, enter the number of pages to add.
BRSV Specify BRESERVE, the number of bytes reserved for expansion on Table B pages. The maximum value is the value of PAGESZ-40. The default is 17.
DRSV Specify DRESERVE, the percentage of space in a Table D page reserved for expansion. DRESERVE applies only to inversion pages. Valid values are 0-100. The default is 15.
DPGSRES Specify DPGSRES, the number of pages in Table D held in reserve. The file is marked full when the first of the DPGSRES pages is used, but transaction backout processing is allowed to continue.

Valid values are 1-32767. DPGSRES must be less than the value of DSIZE. The default is DSIZE/50 + 2; if DSIZE/50 + 2 is greater than 40, the default is 40.

XRSV Specify XRESERVE, the number of bytes of space in a Table X page reserved for expansion. Valid values are 0-6140. The default is 17.
BREUSE For an unordered file only. Specified as a percentage of space on a page; it determines which pages can hold another record. To be reused for storing another record, the page must have the following minimum number of bytes of free space:

(usable_page_size - BRESERVE)*BREUSE + BRESERVE

usable_page_size is the size of the page minus overhead. The default is 20.

FILE OPTIONS Select file characteristics for the specified file. FILEMGMT computes the new value of the Model 204 FOPT parameter from your selections, and it displays the computed value.
Disable Lock Pending Updates Lock pending updates feature is disabled. If this option is selected, Disable Transaction Backout must also be selected. The default is null.
Only FM Defines New Fields New fields in the Model 204 file can be defined only by a user with file manager privileges. The default is null.
No Procedure Statement Numbers Statement numbers cannot be assigned to procedure lines. The default is null.
No Procedure Statement Labels Statement labels cannot be assigned to procedure lines. The default is null.
FILE RECOVERY OPTIONS Select file recovery characteristics for the specified file. FILEMGMT computes a new value for the Model 204 FRCVOPT parameter from your selections and displays the computed value.
Disable Transaction Backout File does not use the Model 204 transaction backout feature. This option is required if Disable Lock Pending Updates is selected. The default is null.
No Rollforward (RF) File does not use the roll forward facility of the RESTART command. The default is null.
No RF Logging Model 204 does not log changes to the journal file. The default is null.
No Checkpoint (CK) Logging Model 204 does not log checkpoint information to the checkpoint data set. The default is null.
No Updates Without RF Logging File is not updated unless roll forward logging is active. The default is null.
No Updates Without CK Logging File is not updated unless checkpoint logging is active. The default is null.
All Updates Applied During RF All updates to the file are applied when the file is rolled forward. The default is null.
No Discontinuities Allowed Only updates that do not result in discontinuities are applied to the file. The default is null.