Deleting a file with FILEMGMT: Difference between revisions
(Created page with "==Deleting files== <p>To stage a file for deletion from the dictionary:</p> <ol> <li>Enter the file name on the primary screen.</li> <li>Select the Delete function.</li> <li>P...") |
(Automatically generated page update) |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
==Overview== | |||
<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 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>Press Enter. | <li>Select the <b>Delete</b> function.</li> | ||
< | |||
<li>Press Enter. | |||
<p> | |||
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> | |||
<table> | <table> | ||
<tr> | <tr> | ||
Line 27: | Line 37: | ||
DDname Dataset Name ( 1 of 1 ) Device Trks/Blks | DDname Dataset Name ( 1 of 1 ) Device Trks/Blks | ||
ABC M204.ABC 3390 632 | ABC M204.ABC 3390 632 | ||
<b></b>===> | <b></b>===> | ||
Line 36: | 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 49: | Line 72: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td>F1</td> | ||
<td>HELp</td> | <td>HELp</td> | ||
<td>Displays | <td>Displays Help text for the File Delete screen.</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<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> | <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> | <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 | <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> | ||
[[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:
- Enter the file name on the FILEMGMT primary screen.
- Select the Delete function.
- 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.
- 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.
- To delete the file now:
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 |
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. |