File Control Table (File architecture): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Admin moved page File Control Table (File Architecture) to File Control Table (File architecture) without leaving a redirect)
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<p>The File Control Table contains the file parameter settings, data set or file definition names of all data sets in the file, the status of the file, and other control information.</p>  
<p>
The File Control Table contains the file parameter settings, data set or file definition names of all data sets in the file, the status of the file, and other control information.</p>  


<p>The FCT is 8 pages.</p>
<p>The FCT is 8 pages.</p>


<p>The first page of the FCT is the File Parameter List (FPL) page, which contains:</p>  
<p>The first page of the FCT is the File Parameter List (FPL) page, which contains:</p>  
<ul>
<li>The File Parameter List holding the current parameter settings for the file </li>


* The File Parameter List holding the current parameter settings for the file
<li>The Logical Page Map (LPM) which shows the distribution of the pages within the file </li>
* The Logical Page Map (LPM) which shows the distribution of the pages within the file
* The data sets list (DSL) comprising the name and number of pages in each data set
* The shared DASD enqueue list, which:
** controls access to the file by multiple jobs, potentially running on different processors that share the DASD device upon which the file data sets reside
** contains the enqueue level of each of those jobs. The [[ENQCTL command]] enables you to display the enqueue list.
* The current file [[BROADCAST command: Sending a file message|broadcast]] message (if any), displayed when the file is [[OPEN FILE command|opened]]. 


<li>The data sets list (DSL) comprising the name and number of pages in each data set </li>


<li>The shared DASD enqueue list, which:
<ul>
<li>Controls access to the file by multiple jobs, potentially running on different processors that share the DASD device upon which the file data sets reside </li>
<li>Contains the enqueue level of each of those jobs. The  <var>[[ENQCTL command|ENQCTL]]</var> command enables you to display the enqueue list. </li>
</ul> </li>


<li>The current file [[BROADCAST command: Sending a file message|broadcast]] message (if any), displayed when the file is [[OPEN FILE command|opened]].  </li>
<li>The segment page array table. This contains a 3-byte pointer to the existence bit map for each segment of the file. From V7.5 onwards, if the FILEORG x'200' bit has been set during file creation to indicate that the file is a large file, then this table is moved to the second page of the FCT.  </li>
</ul>
<p>The remaining seven pages ( or six pages if the FILEORG x'200' bit is set ) of the FCT are empty. They were used in very early versions of Model&nbsp;204, but now they are "Reserved for Future Use."</p>


[[Category:File architecture]]
[[Category:File architecture]]

Latest revision as of 10:44, 16 July 2015

The File Control Table contains the file parameter settings, data set or file definition names of all data sets in the file, the status of the file, and other control information.

The FCT is 8 pages.

The first page of the FCT is the File Parameter List (FPL) page, which contains:

  • The File Parameter List holding the current parameter settings for the file
  • The Logical Page Map (LPM) which shows the distribution of the pages within the file
  • The data sets list (DSL) comprising the name and number of pages in each data set
  • The shared DASD enqueue list, which:
    • Controls access to the file by multiple jobs, potentially running on different processors that share the DASD device upon which the file data sets reside
    • Contains the enqueue level of each of those jobs. The ENQCTL command enables you to display the enqueue list.
  • The current file broadcast message (if any), displayed when the file is opened.
  • The segment page array table. This contains a 3-byte pointer to the existence bit map for each segment of the file. From V7.5 onwards, if the FILEORG x'200' bit has been set during file creation to indicate that the file is a large file, then this table is moved to the second page of the FCT.

The remaining seven pages ( or six pages if the FILEORG x'200' bit is set ) of the FCT are empty. They were used in very early versions of Model 204, but now they are "Reserved for Future Use."