Deleting a file with FILEMGMT: Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
(Automatically generated page update)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Overview==
==Overview==
<p>The File Management DELETE command is staged on the File Delete screen and executed on the Execute Commands screen. FILEMGMT removes all file, field, record, and field group entries from the dictionary when it performs the deletion. References to the deleted entries are also deleted. No <var class="product">Model&nbsp;204</var> command is executed except for the OPEN command required to perform deletions.</p>  
<p>
<p>To release the disk space, you must use the IBM operating system commands.</p>
The File Management <var>DELETE</var> command is staged on the File Delete screen and executed on the Execute Commands screen. FILEMGMT removes all file, field, record, and field group entries from the dictionary when it performs the deletion. References to the deleted entries are also deleted. No <var class="product">Model&nbsp;204</var> command is executed except for the <var>OPEN</var> command required to perform deletions.</p>  
<p>
To release the disk space, you must use the IBM operating system commands.</p>
 
==Deleting files==
==Deleting files==
<p>To stage a file for deletion from the dictionary:</p>
<p>
To stage a file for deletion from the dictionary:</p>
<ol>
<ol>
<li>Enter the file name on the primary screen.</li>
<li>Enter the file name on the FILEMGMT primary screen.</li>
<li>Select the Delete function.</li>
 
<li>Select the <b>Delete</b> function.</li>
 
<li>Press Enter.  
<li>Press Enter.  
<p>The File Delete screen is displayed. The File Delete Screen is read-only and duplicates the information on the File Size Definition screen.</p></li>
<p>
<li>Do one of the following:
The File Delete screen is displayed. The File Delete Screen is read-only, and it duplicates the information on the [[Managing file and table size with FILEMGMT|File Size Definition screen]].</p></li>
<ul>
 
<li>To delete the file now:<br />
Select PF6 to issue the COMmands command. COMmands stages the file for deletion and proceeds to the Execute Commands screen to complete the deletion.</li>
<li>To stage the file for deletion later: <br />
Select PF12 to issue the END command. END stages the file for DELETE, then exits from the File Delete screen and returns to the primary screen without executing the deletion.
You can proceed to the Execute Commands screen later by pressing PF6 on the primary screen.</li>
<li>To exit the Delete File screen without making any changes, select PF3 to issue the QUIt command.</li>
</ul>
</ol>
<table>
<table>
<tr>
<tr>
Line 40: Line 38:
   ABC    M204.ABC                3390      632
   ABC    M204.ABC                3390      632


<b></b>===>


1=HELp      2=      3=QUIt      4=    5=  6=COMmands
1=HELp      2=      3=QUIt      4=    5=  6=COMmands
Line 46: Line 45:
</tr>
</tr>
</table>
</table>
<li>Do one of the following:
<ul>
<li>To delete the file now:
<p>
Select F6 to issue the <b>COMmands</b> command. <b>COMmands</b> stages the file for deletion and proceeds to the [[Executing and deleting commands with FILEMGMT#Execute Commands screen|Execute Commands screen]] to complete the deletion. </p></li>
<li>To stage the file for deletion later:
<p>
Select F12 to issue the <b>END</b> command. <b>END</b> stages the file for <var>DELETE</var>, then exits from the File Delete screen and returns to the primary screen without executing the deletion.
You can proceed to the Execute Commands screen later by pressing F6 on the primary screen. </p></li>
<li>To exit the Delete File screen without making any changes, select F3 to issue the <b>QUIt</b> command.</li>
</ul>
</ol>
===File Delete screen commands===
===File Delete screen commands===
<p>To issue a command, press a PF key or type a command name at the prompt (===>) and press Enter.</p>
<p>
To issue a command, press a PF key or type a command name at the prompt (<b>===></b>) and press Enter.</p>
 
<table>
<table>
<tr class="head">
<tr class="head">
Line 55: Line 72:
</tr>
</tr>
<tr>
<tr>
<td>PF1</td>
<td>F1</td>
<td>HELp</td>
<td>HELp</td>
<td>Displays HELP text for the File Delete screen.</td>
<td>Displays Help text for the File Delete screen.</td>
</tr>
</tr>
<tr>
<tr>
<td>PF3</td>
<td>F3</td>
<td>QUIt</td>
<td>QUIt</td>
<td>Exits from the File Delete screen and returns to the primary screen without making any changes. </td>
<td>Exits from the File Delete screen and returns to the primary screen without making any changes. </td>
</tr>
</tr>
<tr>
<tr>
<td>PF6</td>
<td>F6</td>
<td>COMmands </td>
<td>COMmands </td>
<td>Stages the file for DELETE. Proceeds to the Execute Commands screen. This screen displays the staged commands that were generated for the file and allows you to select the commands you want to execute.</td>
<td>Stages the file for <var>DELETE</var>. Proceeds to the Execute Commands screen. This screen displays the staged commands that were generated for the file and allows you to select the commands you want to execute.</td>
</tr>
</tr>
<tr>
<tr>
<td>PF12 </td>
<td>F12 </td>
<td>END</td>
<td>END</td>
<td>Stages the file for DELETE. Exits from the File Delete screen and returns to the primary screen. You can proceed to the Execute Commands screen by pressing PF6 on the primary screen.</td>
<td>Stages the file for <var>DELETE</var>. Exits from the File Delete screen and returns to the primary screen. You can proceed to the Execute Commands screen by pressing F6 on the primary screen.</td>
</tr>
</tr>
</table>
</table>
<p>&nbsp;</p>
 
[[Category:File management]]
 
[[Category:FILEMGMT application subsystem]]
[[Category:FILEMGMT application subsystem]]

Latest revision as of 04:20, 10 May 2014

Overview

The File Management DELETE command is staged on the File Delete screen and executed on the Execute Commands screen. FILEMGMT removes all file, field, record, and field group entries from the dictionary when it performs the deletion. References to the deleted entries are also deleted. No Model 204 command is executed except for the OPEN command required to perform deletions.

To release the disk space, you must use the IBM operating system commands.

Deleting files

To stage a file for deletion from the dictionary:

  1. Enter the file name on the FILEMGMT primary screen.
  2. Select the Delete function.
  3. Press Enter.

    The File Delete screen is displayed. The File Delete Screen is read-only, and it duplicates the information on the File Size Definition screen.

  4. FILEMGMT File Delete Screen FILENAME: ABC Inactive FICREATE: 6.1 FILEORG: Entry Order PAGESZ: 6184 ASIZE: 3 BSIZE: 15 DSIZE: 4 ESIZE: 0 PROCS ------------ ------------ ------------ ------------ ---------- ASTRPPG: 614 BRECPPG: 256 DRESERVE: 15 % EHIGHPG: CUR: 0 ATRPG: 1 BRESERVE: 17 PDSIZE: 1 EXP: 0 FVFPG: 1 RECS: 1000 PDSTRPPG: 128 AVPG: 1 MVFPG: 1 DPGSRES: 2 CSIZE: 1 FREESIZE: Total Space Pages: 5049 DDname Dataset Name ( 1 of 1 ) Device Trks/Blks ABC M204.ABC 3390 632 ===> 1=HELp 2= 3=QUIt 4= 5= 6=COMmands 7= 8= 9= 10= 11= 12=END

  5. Do one of the following:
    • To delete the file now:

      Select F6 to issue the COMmands command. COMmands stages the file for deletion and proceeds to the Execute Commands screen to complete the deletion.

    • To stage the file for deletion later:

      Select F12 to issue the END command. END stages the file for DELETE, then exits from the File Delete screen and returns to the primary screen without executing the deletion. You can proceed to the Execute Commands screen later by pressing F6 on the primary screen.

    • To exit the Delete File screen without making any changes, select F3 to issue the QUIt command.

File Delete screen commands

To issue a command, press a PF key or type a command name at the prompt (===>) and press Enter.

Key Command Meaning
F1 HELp Displays Help text for the File Delete screen.
F3 QUIt Exits from the File Delete screen and returns to the primary screen without making any changes.
F6 COMmands Stages the file for DELETE. Proceeds to the Execute Commands screen. This screen displays the staged commands that were generated for the file and allows you to select the commands you want to execute.
F12 END Stages the file for DELETE. Exits from the File Delete screen and returns to the primary screen. You can proceed to the Execute Commands screen by pressing F6 on the primary screen.