File management overview: Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
m (add link)
 
(14 intermediate revisions by 4 users not shown)
Line 1: Line 1:
==File management tasks==
==File management tasks==
<p>You might want to designate one or more persons at your site to be responsible for all tasks related to file management.</p>  
<p>
<p>File management tasks include:  
You might want to designate one or more persons at your site to be responsible for all tasks related to file management.</p>  
<p>
File management tasks include:  
<ul>
<ul>
<li>creating, maintaining, and administering <var class="product">Model&nbsp;204</var> database files
<li>Creating, maintaining, and administering <var class="product">Model&nbsp;204</var> database files
<li>organizing Model 204 database files for maximum efficiency in data retrieval</li>
 
<li>Organizing Model 204 database files for maximum efficiency in data retrieval</li>
</ul></p>
</ul></p>
<p>The users performing file management tasks (thus acting in the role of "file manager") must be proficient in:
<p>
The users performing file management tasks (thus acting in the role of "file manager") must be proficient in:
<ul>
<ul>
<li>data allocation, storage, and retrieval, and transaction backout (as required for all database management systems)</li>
<li>Data allocation, storage, and retrieval, and transaction backout (as required for all database management systems)</li>
<li>tasks unique to Model 204 (as described in the file management topics)</li>  
 
<li>Tasks unique to Model 204 (as described in the file management topics)</li>  
</ul></p>
</ul></p>


<p>A good file manager should understand application design and [[:Category:SOUL|SOUL]] coding techniques to assist the application developers in their tasks.</p>
<p>
<p>The file manager works closely with the system manager. System manager duties include starting, stopping, and monitoring the <var class="product">Model&nbsp;204</var> system and setting user priorities and security.</p>
A good file manager should understand application design and [[:Category:SOUL|SOUL]] coding techniques to assist the application developers in their tasks.</p>
<p>
The file manager works closely with the system manager. System manager duties include starting, stopping, and monitoring the <var class="product">Model&nbsp;204</var> system and setting user priorities and security.</p>
 
===File manager privileges===
===File manager privileges===
<p>File manager privileges are established at the file level: privileges for each file are defined on the password used to open the file or the PRIVDEF (default) file privileges when no password is supplied on the file open.</p>
<p>
File manager privileges are established at the file level: privileges for each file are defined on the password used to open the file or the <var>[[PRIVDEF parameter|PRIVDEF]]</var> (default) file privileges when no password is supplied on the file open.</p>


==Dictionary/204 File Management Subsystem facility==
==Dictionary/204 File Management Subsystem facility==
<p>If you use the <var class="product">Model&nbsp;204</var> data administration product, Dictionary/204, you have access to the File Management Subsystem facility (FILEMGMT). You can choose to create and maintain <var class="product">Model&nbsp;204</var> files using FILEMGMT instead of entering commands in a file or on the command line.</p>
<p>
<p>FILEMGMT is a full-screen interface that prompts you for the specific file definition information it needs to automatically construct the <var class="product">Model&nbsp;204</var> commands that create and define the file. FILEMGMT provides automatic file sizing and other time-saving features.</p>
If you use the <var class="product">Model&nbsp;204</var> data administration product, Dictionary/204, you have access to the File Management Subsystem facility ([[FILEMGMT overview|FILEMGMT]]). You can choose to create and maintain <var class="product">Model&nbsp;204</var> files using FILEMGMT instead of entering commands in a file or on the command line.</p>
<p>FILEMGMT also stores the entries in your site's Dictionary for the files, fields, records, and field groups that you create. For more information on the Dictionary, refer to the <var>Rocket Model&nbsp;204 Dictionary/204 and Data Administration Guide</var>.</p>
<p>
<p>In addition to creating new files and providing automatic file sizing, you can use FILEMGMT to add fields or records to existing files, to change file parameters or file size, and to view or copy file information. FILEMGMT tasks are described throughout this manual.</p>
FILEMGMT is a full-screen interface that prompts you for the specific file definition information it needs to automatically construct the <var class="product">Model&nbsp;204</var> commands that create and define the file. FILEMGMT provides automatic file sizing and other time-saving features.</p>
<p>Even if you intend on using the FILEMGMT APSY, you should have a solid knowledge of the rules and techniques involved in the creation and maintenance of <var class="product">Model&nbsp;204</var> files.</p>
<p>
FILEMGMT also stores the entries in your site's Dictionary for the files, fields, records, and field groups that you create. For more information on the Dictionary, refer to [[Dictionary/204 overview]].</p>
<p>
In addition to creating new files and providing automatic file sizing, you can use FILEMGMT to add fields or records to existing files, to change file parameters or file size, and to view or copy file information. FILEMGMT tasks are described throughout the file management topics.</p>
<p>
Even if you intend on using the FILEMGMT APSY, you should have a solid knowledge of the rules and techniques involved in the creation and maintenance of <var class="product">Model&nbsp;204</var> files.</p>


==Getting started==
==Getting started==
<p>You can perform most file management tasks in two ways:</p>
<p>
You can perform most file management tasks in two ways:</p>
<ul>
<ul>
<li>Manually creating procedures containing commands or directly on the command line</li>
<li>Manually creating procedures containing commands or directly on the command line</li>
<li>Using the File Management Subsystem Facility (FILEMGMT)</li>
<li>Using the File Management Subsystem Facility (FILEMGMT)</li>
</ul>
</ul>
<p>There are wiki file management topics to describe each way of performing a task.</p>
 
<p>The following tables describe where to find information about file creation and file management tasks. </p>
<p>
<p>Where applicable, the Order column indicates the order in which you should perform the tasks. </p>
There are [[:Category:Model 204 files|file management topics]] to describe each way of performing a task.</p>
<p>
The following tables describe where to find information about file creation and file management tasks. Where applicable, the Order column indicates the order in which you should perform the tasks. </p>
<table>
<table>
<p class="caption">File creation tasks</p>
<caption>File creation tasks</caption>
<tr class="head">
<tr class="head">
<th>Order</th>
<th>Order</th>
Line 40: Line 58:
<th>For information, see ...</th>
<th>For information, see ...</th>
</tr>
</tr>
<tr>
<tr>
<td align="left">1</td>
<td>1</td>
<td>Understanding <var class="product">Model&nbsp;204</var> file architecture and file managment</td>
<td>Understanding <var class="product">Model&nbsp;204</var> file architecture and file managment</td>
<td>
<td nowrap>[[File architecture overview]] <br>
<p>[[File architecture overview]] and the contents of this page, respectively </p>
File management overview&nbsp;(this page) </td>
</td>
</tr>
</tr>
<tr>
<tr>
<td align="left">2</td>
<td>2</td>
<td>Designing your files for most efficient storage and best performance; determining size and security requirements</td>
<td>Designing your files for most efficient storage and best performance; determining size and security requirements</td>
<td>[[File design (File management)|File design]] </td>
<td>[[File design]] </td>
</tr>
</tr>
<tr>
<tr>
<td align="left">3</td>
<td>3</td>
<td>Designing your <var class="product">Model&nbsp;204</var> data structures for effective and efficient processing</td>
<td>Designing your <var class="product">Model&nbsp;204</var> data structures for effective and efficient processing</td>
<td>[[Record design (File management)|Record design]],
<td>[[Record design]] <br>
[[Field group design (File management)|Field group design]] and <br>
[[Field design]] <br>
[[Field design (File management)|Field design]] </td>
[[Field group design]]</td>
</tr>
<tr>
<td align="left">
4
<br/>(if you create the
<br/> file manually)
</td>
<td>
<p>Calculating file size:</p>
<p>Calculating size for Table A, Table B, Table X, Table C, Table D, Table E</p>
<p>Allocating disk space and data sets</p>
<p>Note: These calculations are done for you if you create files using FILEMGMT, which is the recommended method. But the information is useful to know in any case.</p>
</td>
<td>[[File size calculation]] </td>
</tr>
</tr>
<tr>
<tr>
<td align="left">5</td>
<td>4
<td>
<p>(if you create the
<p>Creating files:</p>
file manually)</p> </td>
<td>Calculating file size:
<ul>
<ul>
<li>determining the necessary parameters and their values</li>
<li>Calculating size for Table A, Table B, Table X, Table C, Table D, Table E</li>
<li>determining the necessary fields, field values, and disk space</li>
<li>Allocating disk space and data sets</li>
<li>building the File Control Table (FCT)</li>
</ul>
</ul>
</td>
<p class="note"><b>Note:</b> These calculations are done for you if you create files using FILEMGMT, which is the recommended method. But the information is useful to know in any case.</p></td>
<td>
<td>[[File sizing introduction]] </td>
<p>[[Creating a file (File management)]] </p>
<p>[[Creating a file with FILEMGMT]] </p>
</td>
</tr>
</tr>
<tr>
<tr>
<td>5</td>
<td>Creating files:
<ul>
<li>Determining the necessary parameters and their values</li>
<li>Determining the necessary fields, field values, and disk space</li>
<li>Building the File Control Table (FCT)</li>
</ul></td>
<td>[[Creating a file]]
<p>[[Creating a file with FILEMGMT]] </p></td>
</tr>
</tr>
<tr>
<tr>
<td align="left">6</td>
<td>6</td>
<td>Initializing files</td>
<td>Initializing files</td>
<td>[[Initializing files]] </td>
<td>[[Initializing files]] </td>
</tr>
</tr>
</table>
</table>
<p>&nbsp;</p>
 
 
<table>
<table>
<p class="caption">File management tasks</p>
<caption>File management tasks</caption>
<tr class="head">
<tr class="head">
<th>Task </th>
<th>Task </th>
<th>For information, see ...</th>
<th>For information, see ...</th>
</tr>
</tr>
<tr>
<tr>
<td>
<td>Loading data into a file  
<p>Loading data into a file; </p>
<p>Loading raw data from a sequential data set into records in a <var class="product">Model&nbsp;204</var> file </p></td>
<p>Loading raw data from a sequential data set into records in a <var class="product">Model&nbsp;204</var> file.</p>
<td>[[File loading techniques]]  
</td>
<p>[[File Load utility]] </p></td>
<td>
<p>[[File loading techniques]] </p>
<p>[[File Load utility]] </p>
</td>
</tr>
</tr>
<tr>
<tr>
<td>Managing deferred updates</td>
<td>Managing deferred updates</td>
<td>[[Deferred update feature]] </td>
<td>[[Deferred update feature]] </td>
</tr>
</tr>
<tr>
<tr>
<td>Managing the size of file tables; options and parameters for automatic or manual increases</td>
<td>Managing the size of file tables; options and parameters for automatic or manual increases</td>
<td>[[Managing file and table sizes|Resizing Tables]] </td>
<td>[[Managing file and table sizes|Resizing tables]] </td>
</tr>
</tr>
<tr>
<tr>
<td>Safeguarding file integrity and recovering files; backing out transactions; running media recovery</td>
<td>Safeguarding file integrity and recovering files; backing out transactions; running media recovery</td>
<td>[[File integrity and recovery]] ; [[Transaction back out]] ; [[Media recovery]] </td>
<td>[[File integrity and recovery]] <br>[[Transaction back out]] <br>[[Media recovery]] </td>
</tr>
</tr>
<tr>
<tr>
<td>Dumping and restoring files: creating a backup copy of your data; moving files; adjusting internal space calculation</td>
<td>Dumping and restoring files: creating a backup copy of your data; moving files; adjusting internal space calculation</td>
<td>[[File dumping and restoring]] </td>
<td nowrap>[[File dumping and restoring]] </td>
</tr>
</tr>
<tr>
<tr>
<td>Managing <var class="product">Model&nbsp;204</var> security for logins, files, and records; defining passwords and file privileges</td>
<td>Managing <var class="product">Model&nbsp;204</var> security for logins, files, and records; defining passwords and file privileges</td>
<td>[[Security]]</td>
<td>[[Model 204 security features]]</td>
</tr>
</tr>
<tr>
<tr>
<td>Monitoring file use on the system and system performance; compiling file statistics</td>
<td>Monitoring file use on the system and system performance; compiling file statistics</td>
<td>[[File statistics and tuning]] </td>
<td>[[File statistics and tuning]] </td>
</tr>
</tr>
<tr>
<tr>
<td>Reorganizing files</td>
<td>Reorganizing files</td>
<td>[[File Reorganization]] </td>
<td>[[File reorganization]] </td>
</tr>
</tr>
<tr>
<tr>
<td>Displaying a field, file, or record; Broadcasting a file message</td>
<td>Displaying a field, file, or record; broadcasting a file message</td>
<td>[[Field display and message broadcast#Overview|Overview]] </td>
<td nowrap>[[Field display and message broadcast]] </td>
</tr>
</tr>
</table>
</table>
<p>&nbsp;</p>
   
   
[[Category:File management]]
[[Category:Model 204 files]]
[[Category:File architecture and management]]
[[Category:Dictionary/204]]

Latest revision as of 23:00, 22 June 2017

File management tasks

You might want to designate one or more persons at your site to be responsible for all tasks related to file management.

File management tasks include:

  • Creating, maintaining, and administering Model 204 database files
  • Organizing Model 204 database files for maximum efficiency in data retrieval

The users performing file management tasks (thus acting in the role of "file manager") must be proficient in:

  • Data allocation, storage, and retrieval, and transaction backout (as required for all database management systems)
  • Tasks unique to Model 204 (as described in the file management topics)

A good file manager should understand application design and SOUL coding techniques to assist the application developers in their tasks.

The file manager works closely with the system manager. System manager duties include starting, stopping, and monitoring the Model 204 system and setting user priorities and security.

File manager privileges

File manager privileges are established at the file level: privileges for each file are defined on the password used to open the file or the PRIVDEF (default) file privileges when no password is supplied on the file open.

Dictionary/204 File Management Subsystem facility

If you use the Model 204 data administration product, Dictionary/204, you have access to the File Management Subsystem facility (FILEMGMT). You can choose to create and maintain Model 204 files using FILEMGMT instead of entering commands in a file or on the command line.

FILEMGMT is a full-screen interface that prompts you for the specific file definition information it needs to automatically construct the Model 204 commands that create and define the file. FILEMGMT provides automatic file sizing and other time-saving features.

FILEMGMT also stores the entries in your site's Dictionary for the files, fields, records, and field groups that you create. For more information on the Dictionary, refer to Dictionary/204 overview.

In addition to creating new files and providing automatic file sizing, you can use FILEMGMT to add fields or records to existing files, to change file parameters or file size, and to view or copy file information. FILEMGMT tasks are described throughout the file management topics.

Even if you intend on using the FILEMGMT APSY, you should have a solid knowledge of the rules and techniques involved in the creation and maintenance of Model 204 files.

Getting started

You can perform most file management tasks in two ways:

  • Manually creating procedures containing commands or directly on the command line
  • Using the File Management Subsystem Facility (FILEMGMT)

There are file management topics to describe each way of performing a task.

The following tables describe where to find information about file creation and file management tasks. Where applicable, the Order column indicates the order in which you should perform the tasks.

File creation tasks
Order Task For information, see ...
1 Understanding Model 204 file architecture and file managment File architecture overview
File management overview (this page)
2 Designing your files for most efficient storage and best performance; determining size and security requirements File design
3 Designing your Model 204 data structures for effective and efficient processing Record design

Field design

Field group design
4

(if you create the file manually)

Calculating file size:
  • Calculating size for Table A, Table B, Table X, Table C, Table D, Table E
  • Allocating disk space and data sets

Note: These calculations are done for you if you create files using FILEMGMT, which is the recommended method. But the information is useful to know in any case.

File sizing introduction
5 Creating files:
  • Determining the necessary parameters and their values
  • Determining the necessary fields, field values, and disk space
  • Building the File Control Table (FCT)
Creating a file

Creating a file with FILEMGMT

6 Initializing files Initializing files


File management tasks
Task For information, see ...
Loading data into a file

Loading raw data from a sequential data set into records in a Model 204 file

File loading techniques

File Load utility

Managing deferred updates Deferred update feature
Managing the size of file tables; options and parameters for automatic or manual increases Resizing tables
Safeguarding file integrity and recovering files; backing out transactions; running media recovery File integrity and recovery
Transaction back out
Media recovery
Dumping and restoring files: creating a backup copy of your data; moving files; adjusting internal space calculation File dumping and restoring
Managing Model 204 security for logins, files, and records; defining passwords and file privileges Model 204 security features
Monitoring file use on the system and system performance; compiling file statistics File statistics and tuning
Reorganizing files File reorganization
Displaying a field, file, or record; broadcasting a file message Field display and message broadcast