Executing and deleting commands with FILEMGMT: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (typo)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
==Executing commands==
==Executing commands==
<p>Commands are executed on the appropriate commands screen.</p>
<p>
<p>To invoke the Execute Commands screen:</p>  
Commands are executed on the appropriate commands screen.</p>
<p>
To invoke the Execute Commands screen:</p>  
<ol>
<ol>
<li>Issue the COMmands command (or press PF6) from a screen that supports the command.</li>
<li>Issue the <b>COMmands</b> command (or press F6) from a screen that supports the command.</li>


<li>Select the commands you want to execute and press PF6.</li>
<li>Select the commands you want to execute and press F6.</li>
</ol>
</ol>


<p class="note"><b>Note:</b></p> Before you execute commands in Active mode that were previously executed in Inactive mode, run DDGEN against the file. Running DDGEN ensures that the dictionary file definition reflects the current status of the <var class="product">Model&nbsp;204</var> file. </p>
<p class="note"><b>Note:</b> Before you execute commands in Active mode that were previously executed in Inactive mode, run <var>DDGEN</var> against the file. Running <var>DDGEN</var> ensures that the dictionary file definition reflects the current status of the <var class="product">Model&nbsp;204</var> file. </p>


==Execute Commands screen==
==Execute Commands screen==
<p>Press the PF6 (COMmands) key from any screen that supports the command. FILEMGMT displays the Execute Commands screen:</p>
<p>
Press the F6 (COMmands) key from any screen that supports the command. FILEMGMT displays the Execute Commands screen:</p>
<ul>
<ul>
<li>If you entered a file name on the primary screen, only the commands staged for that file are displayed.</li>
<li>If you entered a file name on the primary screen, only the commands staged for that file are displayed.</li>
<li>If you did not enter a file name on the primary screen, the commands for all the files staged under your user ID are displayed. </li>
<li>If you did not enter a file name on the primary screen, the commands for all the files staged under your user ID are displayed. </li>
</ul>
</ul>
<p>The following Execute Commands screen shows all the files staged under a user ID.</p>
<p>
The following Execute Commands screen shows all the files staged under a user ID.</p>
<table>
<table>
<tr>
<tr>
Line 34: Line 39:
  _  Field:    EMPLOYEE INITIAL          REDEFINE              03/31/2005
  _  Field:    EMPLOYEE INITIAL          REDEFINE              03/31/2005
  _  Field:    EMPLOYEE LAST NAME        REDEFINE              03/31/2005
  _  Field:    EMPLOYEE LAST NAME        REDEFINE              03/31/2005




Line 46: Line 49:
</tr>
</tr>
</table>
</table>
<p>FILEMGMT displays the names of files and their records, field groups, and fields. For each item, FILEMGMT displays the current or most recently executed command. To the right of the command, FILEMGMT displays the command status - for example, whether the command is pending, was executed successfully, or could not be executed because of an error condition or privilege violation. All the items that have been selected for execution at least once display a status. To the right of the status, FILEMGMT displays the date the command was requested.</p>
<p>
<p>FILEMGMT prompts you only for items that are currently staged by displaying an underscore character (_) in the prefix area to the left of the item name.</p>
FILEMGMT displays the names of files and their records, field groups, and fields. For each item, FILEMGMT displays the current or most recently executed command. To the right of the command, FILEMGMT displays the command status &mdash; for example, whether the command is pending, was executed successfully, or could not be executed because of an error condition or privilege violation. All the items that have been selected for execution at least once display a status. To the right of the status, FILEMGMT displays the date the command was requested.</p>
<p>If a requested operation affects a set of records, field groups, or fields (for example, a file creation or record definition), FILEMGMT displays a prefix prompt only for the highest order of entity type. For example, file creation is a single operation, affecting the file and all of its records, field groups, and fields. Typing X in the file prefix area and pressing PF6 confirms the file creation and automatically submits for execution all the <var class="product">Model&nbsp;204</var> commands constructed for this file and its entries.</p>
<p>
FILEMGMT prompts you only for items that are currently staged by displaying an underscore character (<tt>_</tt>) in the prefix area to the left of the item name.</p>
<p>
If a requested operation affects a set of records, field groups, or fields (for example, a file creation or record definition), FILEMGMT displays a prefix prompt only for the highest order of entity type. For example, file creation is a single operation, affecting the file and all of its records, field groups, and fields. Typing <code>X</code> in the file prefix area and pressing F6 confirms the file creation and automatically submits for execution all the <var class="product">Model&nbsp;204</var> commands constructed for this file and its entries.</p>
 
==Execution options==
==Execution options==
<p>The dictionary administrator determines the default execution option and the available options. Execution options determine how and when FILEMGMT executes the commands on the Execute Commands screen.</p>
<p>
<p>If your system supports more than one mode, you can override the default by specifying the option you want on the ACTIVE or INACTIVE line of the Execute Commands screen. Your choice affects only the items you select for the current session. The default option is restored for subsequent sessions.</p>
The dictionary administrator determines the default execution option and the available options. Execution options determine how and when FILEMGMT executes the commands on the Execute Commands screen.</p>
<p>FILEMGMT provides the following options:</p>
<p>
<table>
If your system supports more than one mode, you can override the default by specifying the option you want on the <b>ACTIVE</b> or <b>INACTIVE</b> line of the Execute Commands screen. Your choice affects only the items you select for the current session. The default option is restored for subsequent sessions.</p>
<p>
FILEMGMT provides the following options:</p>
 
<table class="thJustBold">
<tr class="head">
<tr class="head">
<th>Option</th>
<th>Option</th>
<th>Function</th>
<th>Function</th>
</tr>
</tr>
<tr>
<tr>
<td>Active Immediate </td>
<th>Active Immediate </th>
<td>Commands for selected items are executed immediately after FILEMGMT verifies that you have the necessary privileges to execute the commands. </td>
<td>Commands for selected items are executed immediately after FILEMGMT verifies that you have the necessary privileges to execute the commands. </td>
</tr>
</tr>
<tr>
<tr>
<td>Active Delayed </td>
<th>Active Delayed </th>
<td>
<td>Commands for selected items are flagged as pending after FILEMGMT verifies that you have the necessary privileges to execute the commands. FILEMGMT executes the commands at a later time in batch mode.
<p>Commands for selected items are flagged as pending after FILEMGMT verifies that you have the necessary privileges to execute the commands. FILEMGMT executes the commands at a later time in batch mode.</p>
<p>
<p>Refer to the appropriate section of the <var>Rocket Model&nbsp;204 </var>Installation Guide for your operating system for more information.   </p>
Refer to the appropriate section of the Rocket Model&nbsp;204 Installation Guide for your operating system for more information. </p>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td>Inactive USE File </td>
<th>Inactive USE File </th>
<td>
<td>Commands for selected items are written to a <var class="product">Model&nbsp;204</var> directed output (USE) file.
<p>Commands for selected items are written to a <var class="product">Model&nbsp;204</var> directed output (USE) file.</p>
<p>
<p>Your run must contain one of these print statements:</p>
Your run must contain one of these print statements:</p>
<ul>
<ul>
<li>OUT<var class="term">xxxx</var> file DD statement in the JCL option (z/OS and z/VSE)</li>
<li>OUT<var class="term">xxxx</var> file DD statement in the JCL option (z/OS and z/VSE)</li>
<li>DEFINE PRINTER statement in the <var class="product">Model&nbsp;204</var> CCAIN data stream (z/VM) </li>
 
<li><var>DEFINE PRINTER</var> statement in the <var class="product">Model&nbsp;204</var> CCAIN data stream (z/VM) </li>
</ul>
</ul>
<p>If no name is specified, FILEMGMT uses the default file, OUTFILE. If OUTFILE is used, it must be defined with the option DISP=MOD.  </p>
<p>
If no name is specified, FILEMGMT uses the default file, <code>OUTFILE</code>. If <code>OUTFILE</code> is used, it must be defined with the option <code>DISP=MOD</code>.  </p>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td>Inactive Procedure File </td>
<th nowrap>Inactive Procedure File </th>
<td>
<td>Commands for selected items are written to a specified procedure file.
<p>Commands for selected items are written to a specified procedure file.</p>
<p>
<p>The procedure file name has the format:</p>
The procedure file name has the format:</p>
<p class="code">FIM.<var class="term">acct.date.time</var>
<p class="syntax">FIM.<span class="term">acct.date.time</span>
</p>
</p>
<p>where:</p>
<p>
Where:</p>
<ul>
<ul>
<li>acct is your login account name.</li>
<li><var class="term">acct</var> is your login account name.</li>
<li><var class="term">date</var> is the current date (<var>MMDDYY</var>).</li>
<li><var class="term">date</var> is the current date (<var>MMDDYY</var>).</li>
<li><var class="term">time</var> is the current time (<var>HHMMSS</var>).</li>
<li><var class="term">time</var> is the current time (<var>HHMMSS</var>).</li>
Line 97: Line 115:
</tr>
</tr>
</table>
</table>
<p>Follow these guidelines when determining execution options:</p>
<p>
Follow these guidelines when determining execution options:</p>
<ul>
<ul>
<li>If you select the ACTIVE option, FILEMGMT checks all necessary passwords and privileges. These must be correct before FILEMGMT actually executes the command. If your login account password or the file password is invalid for a particular command, FILEMGMT reports an error condition on the line containing the file name.</li>
<li>If you select the <b>ACTIVE</b> option, FILEMGMT checks all necessary passwords and privileges. These must be correct before FILEMGMT actually executes the command. If your login account password or the file password is invalid for a particular command, FILEMGMT reports an error condition on the line containing the file name.</li>
<li>If the default is INACTIVE, and both USE and procedure files are available, the two options have Xs in the prefix area. Delete one of the Xs before you execute commands in the INACTIVE mode.</li>
 
<li>INACTIVE option does not generate passwords for OPEN statements. </li>
<li>If the default is <b>INACTIVE</b>, and both <var>USE</var> and procedure files are available, the two options have <code>X</code>s in the prefix area. Delete one of the <code>X</code>s before you execute commands in the <var>INACTIVE</var> mode.</li>
<li>INACTIVE option is required if you are recreating or copying a file from an earlier <var class="product">Model&nbsp;204</var> release and choose to retain the file format of the earlier release.</li>
 
<li><b>INACTIVE</b> option does not generate passwords for <var>OPEN</var> statements. </li>
 
<li><b>INACTIVE</b> option is required if you are recreating or copying a file from an earlier <var class="product">Model&nbsp;204</var> release and choose to retain the file format of the earlier release.</li>
</ul>
</ul>
<p>The Execute Commands screen displays all the execution options supported by your system, and lets you change (and refine) the option you selected on the File Definition - Organization screen. The option you select on the Execute Commands screen applies to all the commands you select from the screen before you press the PF6 (EXEcute) key.</p>
<p>
<p>FILEMGMT displays or prompts you for the following information.</p>
The Execute Commands screen displays all the execution options supported by your system, and lets you change (and refine) the option you selected on the [[Creating a file with FILEMGMT#Defining file organization|File Definition - Organization screen]]. The option you select on the Execute Commands screen applies to all the commands you select from the screen before you press the F6 (EXEcute) key.</p>
<table>
<p>
FILEMGMT displays 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> REPORT Use </td>
<th nowrap>REPORT Use</th>
<td>
<td>Type the name of a directed output (<var>USE</var>) file to which FILEMGMT is to write a printable report. The report has the same format as the Execute Commands screen, except that the <b>REPORT</b> line shows the user account name and the current date and time.  
<p>Type the name of a directed output (USE) file to which FILEMGMT is to write a printable report. The report has the same format as the Execute Commands Screen, except that the REPORT line shows the user account name and the current date and time. </p>
<p>
<p>If you select this option, your run must contain one of these print statements: </p>
If you select this option, your run must contain one of these print statements: </p>
<ul>
<ul>
<li>OUT<var class="term">xxxx</var> file DD statement in the JCL option (z/OS and z/VSE) </li>
<li>OUT<var class="term">xxxx</var> file DD statement in the JCL option (z/OS and z/VSE) </li>
<li>DEFINE PRINTER statement in the <var class="product">Model&nbsp;204</var> CCAIN data stream (z/VM)</li>
 
<li><var>DEFINE PRINTER</var> statement in the <var class="product">Model&nbsp;204</var> CCAIN data stream (z/VM)</li>
</ul>
</ul>
<p>Note: Of the four command options described below and in the preceding "Execution Options" section, the screen prompts only for those that were selected by the DBA on the Dictionary Administration File Management Facility screen. </p>
<p class="note"><b>Note:</b> Of the four command options described below and in the preceding <b>Execution Options</b> section, the screen prompts only for those that were selected by the DBA on the Dictionary Administration File Management Facility screen. </p>
</td>
</td></tr>
</tr>
 
<tr>
<tr>
<td>ACTIVE </td>
<th>ACTIVE </th>
<td>Commands can be executed in immediate or delayed mode. </td>
<td>Commands can be executed in immediate or delayed mode. </td>
</tr>
</tr>
<tr>
<tr>
<td>   Immediate </td>
<th>&nbsp; &nbsp; Immediate </th>
<td>Commands are executed as soon as you issue the EXEcute command on the Execute Commands screen and FILEMGMT confirms your privileges. FILEMGMT displays X if this is the default for your system. You can type X to select this option if no X is displayed.</td>
<td>Commands are executed as soon as you issue the <b>EXEcute</b> command on the Execute Commands screen and FILEMGMT confirms your privileges. FILEMGMT displays <code>X</code> if this is the default for your system. You can type <code>X</code> to select this option if no <code>X</code> is displayed.</td>
</tr>
</tr>
<tr>
<tr>
<td>   Delayed </td>
<th> &nbsp; &nbsp; Delayed </th>
<td>Commands are ready for execution. They are assigned a status of pending and can be subsequently executed in batch mode. FILEMGMT displays X if this is the default for your system. You can type X to select this option if no X is displayed. </td>
<td>Commands are ready for execution. They are assigned a status of pending and can be subsequently executed in batch mode. FILEMGMT displays <code>X</code> if this is the default for your system. You can type <code>X</code> to select this option if no <code>X</code> is displayed. </td></tr>
</tr>
 
<tr>
<tr>
<td>INACTIVE </td>
<th>INACTIVE </th>
<td>Commands can be written to a <var class="product">Model&nbsp;204</var> directed output (USE) file or stored in a procedure.</td>
<td>Commands can be written to a <var class="product">Model&nbsp;204</var> directed output (<var>USE</var>) file or stored in a procedure.</td></tr>
</tr>
 
<tr>
<tr>
<td>   Use </td>
<th> &nbsp; &nbsp; Use </th>
<td>Commands are written to the USE file specified to the right of the Use prompt. The necessary print statements are the same as for the REPORT Use prompt. Select this option by typing X to the left of the prompt.</td>
<td>Commands are written to the <var>USE</var> file specified to the right of the <b>Use</b> prompt. The necessary print statements are the same as for the <b>REPORT Use</b> prompt. Select this option by typing <code>X</code> to the left of the prompt.</td></tr>
</tr>
 
<tr>
<tr>
<td>ProcFile </td>
<th>ProcFile </th>
<td>Commands are written to the procedure file specified to the right of the ProcFile prompt. The format for the procedure filename is described in the "Execution options" section. Select this option by typing X to the left of the prompt.</td>
<td>Commands are written to the procedure file specified to the right of the <b>ProcFile</b> prompt. The format for the procedure file name is described in the <b>Execution options</b> section. Select this option by typing <code>X</code> to the left of the prompt.</td></tr>
</tr>
 
<tr>
<tr>
<td>Password </td>
<th>Password </th>
<td>If you selected the "ProcFile" option, enter the password (if any) associated with the procedure file. Type a valid password for the file (1-10 characters containing no spaces, commas, or colons).</td>
<td>If you selected the <b>ProcFile</b> option, enter the password (if any) associated with the procedure file. Type a valid password for the file (1-10 characters containing no spaces, commas, or colons).</td></tr>
</tr>
 
<tr>
<tr>
<td>Filename </td>
<th>Filename </th>
<td>
<td>FILEMGMT displays the name of the file that you entered on the primary screen, or displays the names of all files staged under your user ID.  
<p>FILEMGMT displays the name of the file that you entered on the primary screen, or displays the names of all files staged under your user ID. </p>
<p>
<p>If the file is currently staged (for example, for a file creation), you can select the file by typing X in the prefix area to the left of the file name. The absence of a prefix prompt means that the file is no longer staged for a command. </p>
If the file is currently staged (for example, for a file creation), you can select the file by typing <code>X</code> in the prefix area to the left of the file name. The absence of a prefix prompt means that the file is no longer staged for a command. </p>
<p>FILEMGMT displays on the same line as the file name: </p>
<p>
FILEMGMT displays on the same line as the file name: </p>
<ul>
<ul>
<li>FILEMGMT command requested for the file </li>
<li>FILEMGMT command requested for the file.
</ul>
<p>
<p>See "FILEMGMT commands" for a listing of the commands.</p>
See [[#Commands generated from FILEMGMT|Commands generated from FILEMGMT]] for a listing of the commands. </p></li>
<ul>
 
<li> Status of the command </li>
<li>Status of the command.
</ul>
<p>
<p>A status preceded by * indicates that the command cannot be executed until you provide FILEMGMT with more information. Any other status indicator shows the results of the most recent execution attempt. A blank status indicates the command was never selected for execution.</p>
A status preceded by an asterisk (<tt>*</tt>) indicates that the command cannot be executed until you provide FILEMGMT with more information. Any other status indicator shows the results of the most recent execution attempt. A blank status indicates the command was never selected for execution.</p></li>
</td>
 
</tr>
<table class="thJustBold">
<tr class="head">
<th>Status</th>
<th>Meaning</th></tr>
 
<tr>
<tr>
<td>   CmdGen'd</td>
<th>CmdGen'd</th>
<td>Commands were generated in INACTIVE mode. </td>
<td>Commands were generated in <b>INACTIVE</b> mode. </td>
</tr>
</tr>
<tr>
<tr>
<td>   EXECPENDING</td>
<th> EXEC PENDING</th>
<td>
<td>
<p>You executed a command in ACTIVE IMMEDIATE mode and were restarted or the system crashed before the command was completed.</p>
<p>
<p>To recover, run DDGEN to ensure your dictionary is synchronized, and reissue the command. </p>
You executed a command in <b>ACTIVE Immediate</b> mode and were restarted or the system crashed before the command was completed.</p>
</td>
<p>
</tr>
To recover, run <var>DDGEN</var> to ensure your dictionary is synchronized, and reissue the command. </p>
</td></tr>
 
<tr>
<tr>
<td>   FilePriv </td>
<th> FilePriv </th>
<td>The operation failed because you have insufficient file privileges. </td>
<td>The operation failed because you have insufficient file privileges. </td>
</tr>
</tr>
<tr>
<tr>
<td>   Fistat </td>
<th> Fistat </th>
<td>The file is physically or logically inconsistent. (See the Rocket <var class="product">Model&nbsp;204</var> File Manager's Guide.)</td>
<td>The file is physically or logically inconsistent. (See [[File_integrity_and_recovery#Restarts|Restarts]].)</td>
</tr>
</tr>
<tr>
<tr>
<td>   M204.nnnn </td>
<th> M204.<i>nnnn</i> </th>
<td>The operation failed because of an incorrect password or some other error condition. "nnnn" indicates the <var class="product">Model&nbsp;204</var> error message number. </td>
<td>The operation failed because of an incorrect password or some other error condition. <var class="term">nnnn</var> indicates the <var class="product">Model&nbsp;204</var> error message number. </td></tr>
</tr>
 
<tr>
<tr>
<td>   OpenError </td>
<th>OpenError </th>
<td>FILEMGMT was unable to open the file. </td>
<td>FILEMGMT was unable to open the file. </td>
</tr>
</tr>
<tr>
<tr>
<td>   Pending </td>
<th>Pending </th>
<td>The command was selected but is not yet executed. Pending status occurs in ACTIVE DELAYED mode. </td>
<td>The command was selected but is not yet executed. Pending status occurs in ACTIVE DELAYED mode. </td>
</tr>
</tr>
<tr>
<tr>
<td>   PrevExecuted </td>
<th>PrevExecuted </th>
<td>The command for a field was previously executed as part of a different record or field group. </td>
<td>The command for a field was previously executed as part of a different record or field group. </td></tr>
</tr>
 
<tr>
<tr>
<td>     *REC DEFN REQD</td>
<th nowrap>*REC DEFN REQD</th>
<td>The record must be completely defined before the command for the record can be executed. </td>
<td>The record must be completely defined before the command for the record can be executed. </td></tr>
</tr>
 
<tr>
<tr>
<td>   SizeError </td>
<th>SizeError </th>
<td>The available space is insufficient for an INCREASE command. </td>
<td>The available space is insufficient for an <var>INCREASE</var> command. </td>
</tr>
</tr>
<tr>
<tr>
<td>   *SIZING REQD </td>
<th>*SIZING REQD </th>
<td>The file was staged for CREATE, but sizing information was not provided.</td>
<td>The file was staged for <var>CREATE</var>, but sizing information was not provided.</td>
</tr>
</tr>
<tr>
<tr>
<td>   Successful </td>
<th>Successful </th>
<td>The command was executed successfully. </td>
<td>The command was executed successfully. </td>
</tr>
</tr>
<tr>
<tr>
<td>Filename (continued)
<th>UserPriv </th>
    UserPriv </td>
<td>You attempted to execute a <var>CREATE</var> command and do not have superuser privileges.  
<td>
The date (MM/DD/YY) the command was requested. If the command status is the result of an error or incomplete execution, an asterisk appears in front of the date.
<p>You attempted to execute a CREATE command and do not have superuser privileges. </p>
</td></tr>
<ul>
</table></ul></td></tr>
<li>The date (MM/DD/YY) the command was requested. If the command status is the result of an error or incomplete execution, an asterisk appears in front of the date (as shown for PAYROLL, RECORD.ONE, and RECORD.TWO in the Execute Commands Screen above).</li>
 
</ul>
</td>
</tr>
<tr>
<tr>
<td>Password </td>
<th>Password </th>
<td>If required, type a valid password for the file (1-10 characters containing no spaces, commas, or colons). FILEMGMT indicates on the same line whether the file is active or inactive. "Active" or "Inactive" indicates the mode in which the commands for this file were last executed. If you re-execute the commands, you can change the execution mode by selecting another option at the top area of the screen. For more information, see the discussion of execution options above.</td>
<td>If required, type a valid password for the file (1-10 characters containing no spaces, commas, or colons). FILEMGMT indicates on the same line whether the file is active or inactive. <b>Active</b> or <b>Inactive</b> indicates the mode in which the commands for this file were last executed. If you re-execute the commands, you can change the execution mode by selecting another option at the top area of the screen. For more information, see the discussion of [[#Execution options|execution options]], above.</td></tr>
</tr>
 
<tr>
<tr>
<td>Record</td>
<th>Record</th>
<td>FILEMGMT displays the name of a record, Field group field group, or field for which a command Field has been generated. The command, status, and execution date are displayed on the same line. For more information about the line, see the "Filename" prompt above.</td>
<td>FILEMGMT displays the name of a record, field group, or field for which a command Field has been generated. The command, status, and execution date are displayed on the same line. For more information about the line, see the <b>Filename</b> prompt, above.</td>
</tr>
</tr>
</table>
</table>
==Execute Commands screen commands==
==Execute Commands 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 245: Line 288:
<th>Meaning</th>
<th>Meaning</th>
</tr>
</tr>
<tr>
<tr>
<td>PF1 </td>
<td>F1 </td>
<td>HELp </td>
<td>HELp </td>
<td>Displays HELP text for the Execute Commands screen.</td>
<td>Displays Help text for the Execute Commands screen.</td>
</tr>
</tr>
<tr>
<tr>
<td>PF3 </td>
<td>F3 </td>
<td>QUIt </td>
<td>QUIt </td>
<td>Exits from the Execute Commands screen and returns to the primary screen. Commands that were executed by pressing PF6 cannot be backed out by using QUIt. </td>
<td>Exits from the Execute Commands screen and returns to the primary screen. Commands that were executed by pressing F6 cannot be backed out by using <b>QUIt</b>. </td>
</tr>
</tr>
<tr>
<tr>
<td>PF5 </td>
<td>F5 </td>
<td>REPort </td>
<td>REPort </td>
<td>Writes a report of the commands to the OUT<var class="term">xxxx</var> file. The OUT<var class="term">xxxx</var> file is the file specified in response to the REPORT Use prompt. </td>
<td>Writes a report of the commands to the OUT<var class="term">xxxx</var> file. The OUT<var class="term">xxxx</var> file is the file specified in response to the <b>REPORT Use</b> prompt. </td>
</tr>
</tr>
<tr>
<tr>
<td>PF6 </td>
<td>F6 </td>
<td>EXEcute </td>
<td>EXEcute </td>
<td>
<td>Executes, sets as pending, or writes to a file for later execution the commands that you selected on the Execute Commands screen. The execution mode depends on the <b>ACTIVE</b> or <b>INACTIVE</b> selection.
<p>Executes, sets as pending, or writes to a file for later execution the commands that you selected on the Execute Commands screen. The execution mode depends on the ACTIVE/INACTIVE selection. </p>
<p>
<p>The Execute Commands screen is redisplayed after you press PF6 to show the updated status of all commands. </p>
The Execute Commands screen is redisplayed after you press F6 to show the updated status of all commands. </p></td></tr>
</td>
 
</tr>
<tr>
<tr>
<td>PF7 </td>
<td>F7 </td>
<td>BACkward </td>
<td>BACkward </td>
<td>Scrolls backward one screen. If you type BAC at the prompt (===>), followed by a number, FILEMGMT scrolls backward the specified number of lines. </td>
<td>Scrolls backward one screen. If you type <code>BAC</code> at the prompt (<b>===></b>), followed by a number, FILEMGMT scrolls backward the specified number of lines. </td></tr>
</tr>
 
<tr>
<tr>
<td>PF8 </td>
<td>F8 </td>
<td>FORward </td>
<td>FORward </td>
<td>Scrolls forward one screen. If you type FOR at the prompt (===>), followed by a number, FILEMGMT scrolls forward the specified number of lines.</td>
<td>Scrolls forward one screen. If you type <code>FOR</code> at the prompt (<b>===></b>), followed by a number, FILEMGMT scrolls forward the specified number of lines.</td>
</tr>
</tr>
<tr>
<tr>
<td>PF11 </td>
<td>F11 </td>
<td>DELcmds </td>
<td>DELcmds </td>
<td>Takes you to the Delete Commands screen.</td>
<td>Takes you to the Delete Commands screen.</td></tr>
</tr>
</table>
</table>
==Commands generated from FILEMGMT==
==Commands generated from FILEMGMT==
<p>The following tables list the commands that FILEMGMT generates for each entity, the screens from which the commands are generated, and the actions that the commands perform. </p>
<p>The following tables list the commands that FILEMGMT generates for each entity, the screens from which the commands are generated, and the actions that the commands perform. </p>
Line 294: Line 341:
<th>Action</th>
<th>Action</th>
</tr>
</tr>
<tr>
<tr>
<td>CREATE</td>
<td>CREATE</td>
<td>
<td nowrap>File Definition screens
<p>File Definition screens
</p>
<p>File Size Definition screen</p>
<p>File Size Definition screen</p>
<p>File Copy screen</p>
<p>File Copy screen</p></td>
</td>
<td>Status is <b>*SIZING REQD</b>; command cannot be executed until sizing is performed.
<td>
<p>Status is *SIZING REQD; command cannot be executed until sizing is performed.</p>
<p>Creates a physical file and links a file definition to the file.</p>
<p>Creates a physical file and links a file definition to the file.</p>
<p>Status is *SIZING REQD; command cannot be executed until sizing is performed. Sizing is required in order to link a data set name to the physical file.</p>
<p>Status is <b>*SIZING REQD</b>; command cannot be executed until sizing is performed. Sizing is required in order to link a data set name to the physical file.</p>
</td>
</td></tr>
</tr>
 
<tr>
<tr>
<td>RECREATE</td>
<td>RECREATE</td>
<td>
<td>File Definition screens
<p>File Definition screens
<p>File Size Definition screen</p></td>
</p>
<td>Recreates the physical file and links a file definition to the file.
<p>File Size Definition screen</p>
</td>
<td>
<p>Recreates the physical file and links a file definition to the file.</p>
<p>Recreates the physical file and links a file definition to the file.</p>
<p>Recreates the physical file and links a file definition to the file.</p>
</td></tr>
</td>
 
</tr>
<tr>
<tr>
<td>INCREASE</td>
<td>INCREASE</td>
<td>
<td>File Size Definition screen
<p>File Size Definition screen</p>
<p>Increase/Decrease screen</p></td>
<p>Increase/Decrease screen</p>
<td>Resets Table B and Table D sizes.
</td>
<p>Resets Table B and Table D sizes.</p></td>
<td>
<p>Resets Table B and Table D sizes.</p>
<p>Resets Table B and Table D sizes.</p>
</td>
</tr>
</tr>
<tr>
<tr>
<td>DECREASE</td>
<td>DECREASE</td>
<td>
<td>File Size Definition screen
<p>File Size Definition screen</p>
<p>Increase/Decrease screen</p></td>
<p>Increase/Decrease screen</p>
<td>Resets Table B and Table D sizes
</td>
<p>Resets Table B and Table D sizes.</p></td>
<td>
<p>Resets Table B and Table D sizes</p>
<p>Resets Table B and Table D sizes.</p>
</td>
</tr>
</tr>
<tr>
<tr>
<td>INC DSN</td>
<td>INC DSN</td>
Line 347: Line 381:
<td>Adds data sets for the file.</td>
<td>Adds data sets for the file.</td>
</tr>
</tr>
<tr>
<tr>
<td>RESET</td>
<td>RESET</td>
<td>
<td>File Size Definition screen
<p>File Size Definition screen</p>
<p>File Parameter Reset screen</p>
<p>File Parameter Reset screen</p>
</td>
</td>
<td>
 
<p>Resets file sizing parameters for an existing file.</p>
<td>Resets file sizing parameters for an existing file.
<p>Resets file organization and security parameters.</p>
<p>Resets file organization and security parameters.</p></td>
</td>
</tr>
</tr>
<tr>
<tr>
<td>SECURE</td>
<td>SECURE</td>
Line 363: Line 397:
<td>Secures <var class="product">Model&nbsp;204</var> password.</td>
<td>Secures <var class="product">Model&nbsp;204</var> password.</td>
</tr>
</tr>
<tr>
<tr>
<td>DESECURE </td>
<td>DESECURE </td>
Line 368: Line 403:
<td>Desecures <var class="product">Model&nbsp;204</var> password.</td>
<td>Desecures <var class="product">Model&nbsp;204</var> password.</td>
</tr>
</tr>
<tr>
<tr>
<td>INITIALIZE</td>
<td>INITIALIZE</td>
Line 373: Line 409:
<td>Initializes the file.</td>
<td>Initializes the file.</td>
</tr>
</tr>
<tr>
<tr>
<td>DELETE</td>
<td>DELETE</td>
Line 387: Line 424:
<th>Action</th>
<th>Action</th>
</tr>
</tr>
<tr>
<tr>
<td>DEFINE</td>
<td>DEFINE</td>
<td>
<td>Field Name List screen
<p>Field Name List screen</p>
<p>Field Attributes screen</p>
<p>Field Attributes screen</p>
<p>Field Copy screen, if fields are selected for copying</p>
<p>Field Copy screen, if fields are selected for copying</p>
<p>Record Copy screen</p>
<p>Record Copy screen</p>
<p>File Size Definition screen, if the file is to be recreated</p>
<p>File Size Definition screen, if the file is to be recreated</p></td>
</td>
 
<td>
<td>Defines the field with default attributes.
<p>Defines the field with default attributes.</p>
<p>Defines the field.</p>
<p>Defines the field.</p>
<p>Defines the field.</p>
<p>Defines the field.
</p>
<p>Defines the field.</p>
<p>Defines the field.</p>
<p>Defines the field.</p>
<p>Defines the field.</p>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td>REDEFINE</td>
<td>REDEFINE</td>
Line 410: Line 446:
<td>Redefines the field.</td>
<td>Redefines the field.</td>
</tr>
</tr>
<tr>
<tr>
<td>DELETE</td>
<td>DELETE</td>
Line 415: Line 452:
<td>Deletes the field from <var class="product">Model&nbsp;204</var> and the dictionary.</td>
<td>Deletes the field from <var class="product">Model&nbsp;204</var> and the dictionary.</td>
</tr>
</tr>
<tr>
<tr>
<td>RENAME</td>
<td>RENAME</td>
Line 420: Line 458:
<td>Renames the field.</td>
<td>Renames the field.</td>
</tr>
</tr>
<tr>
<tr>
<td>R/R</td>
<td>R/R</td>
Line 427: Line 466:
</table>
</table>


===Record Commands===
===Record commands===
<table>
<table>
<tr class="head">
<tr class="head">
Line 434: Line 473:
<th>Action</th>
<th>Action</th>
</tr>
</tr>
<tr>
<tr>
<td>DEFINE</td>
<td>DEFINE</td>
<td>
<td>
<p>Record Name List screen
<ol class="low-al">
</p>
<li>Record Name List screen</li>
<p>Record Definition screen</p>
<li>Record Definition screen</li>
<p>Field Definition screen, if the file has no records defined</p>
<li>Field Definition screen, if the file has no records defined</li>
<p>File Recreate screen, if the field is sorted, hashed, or has record security, and no record has been explicitly defined</p>
<li>File Recreate screen, if the field is sorted, hashed, or has record security, and no record has been explicitly defined</li>
<p>File Copy screen, if records are selected for copying</p>
<li>File Copy screen, if records are selected for copying</li>
<p>File Copy screen, if no record has been defined to the file</p>
<li>File Copy screen, if no record has been defined to the file</li>
<p>Record Copy screen</p>
<li>Record Copy screen</li>
<p>File Size Definition screen, if the file is to be recreated</p>
<li>File Size Definition screen, if the file is to be recreated</li>
</td>
</ol></td>
 
<td>
<td>
<p>Status is *REC DEFN REQD; cannot be executed until the record is defined.</p>
<ol class="low-al">
<p>Defines the record.</p>
<li>Status is <b>*REC DEFN REQD</b>; cannot be executed until the record is defined. </li>
<p>Status is *REC DEFN REQD; cannot be executed until the record is defined.
<li>Defines the record.</li>
</p>
<li>Status is <b>*REC DEFN REQD</b>; cannot be executed until the record is defined.</li>
<p>Defines the record.
<li>Defines the record.</li>
<li>Defines the record.</li>
<li>Status is <b>*REC DEFN REQD</b>; cannot be executed until the record is defined.</li>
<li>Defines the record.</li>
<li>Defines the record.</li>
</ol></td>
</tr>


</p>
<p>Defines the record.
</p>
<p>Status is *REC DEFN REQD; cannot be executed until the record is defined.</p>
<p>Defines the record.</p>
<p>Defines the record.</p>
</td>
</tr>
<tr>
<tr>
<td>REDEFINE</td>
<td>REDEFINE</td>
Line 467: Line 506:
<td>Redefines the record.</td>
<td>Redefines the record.</td>
</tr>
</tr>
<tr>
<tr>
<td>DELETE</td>
<td>DELETE</td>
Line 472: Line 512:
<td>Deletes the record definition from the dictionary.</td>
<td>Deletes the record definition from the dictionary.</td>
</tr>
</tr>
<tr>
<tr>
<td>RENAME</td>
<td>RENAME</td>
Line 477: Line 518:
<td>Renames the record.</td>
<td>Renames the record.</td>
</tr>
</tr>
<tr>
<tr>
<td>R/R</td>
<td>R/R</td>
Line 491: Line 533:
<th>Action</th>
<th>Action</th>
</tr>
</tr>
<tr>
<tr>
<td>DEFINE</td>
<td>DEFINE</td>
<td>
<td>Field Group Definition screen
<p>Field Group Definition screen</p>
<p>
<p>File Size Definition screen, if the file is to be recreated</p>
File Size Definition screen, if the file is to be recreated</p></td>
</td>
<td>Defines the field group.
<td>
<p>Defines the field group.
</p>
<p>Defines the field group.</p>
<p>Defines the field group.</p>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td>REDEFINE </td>
<td>REDEFINE </td>
Line 508: Line 549:
<td>Redefines the field group.</td>
<td>Redefines the field group.</td>
</tr>
</tr>
<tr>
<tr>
<td>DELETE</td>
<td>DELETE</td>
Line 513: Line 555:
<td>Deletes the field group definition from the dictionary.</td>
<td>Deletes the field group definition from the dictionary.</td>
</tr>
</tr>
<tr>
<tr>
<td>RENAME</td>
<td>RENAME</td>
Line 518: Line 561:
<td>Renames the field group.</td>
<td>Renames the field group.</td>
</tr>
</tr>
<tr>
<tr>
<td>R/R</td>
<td>R/R</td>
Line 528: Line 572:
To delete commands:
To delete commands:
<ol>
<ol>
<li>Issue the DELcmds command (or press PF9) from the primary screen.</li>
<li>Issue the <b>DELcmds</b> command (or press F9) from the primary screen.</li>
<li>Select the commands you want to delete and press PF6.</li>
<li>Select the commands you want to delete, and press F6.</li>
</ol>
</ol>
<p>&nbsp;</p>
 
[[Category:File management]]
 
[[Category:FILEMGMT application subsystem]]
[[Category:FILEMGMT application subsystem]]

Latest revision as of 00:08, 2 April 2015

Executing commands

Commands are executed on the appropriate commands screen.

To invoke the Execute Commands screen:

  1. Issue the COMmands command (or press F6) from a screen that supports the command.
  2. Select the commands you want to execute and press F6.

Note: Before you execute commands in Active mode that were previously executed in Inactive mode, run DDGEN against the file. Running DDGEN ensures that the dictionary file definition reflects the current status of the Model 204 file.

Execute Commands screen

Press the F6 (COMmands) key from any screen that supports the command. FILEMGMT displays the Execute Commands screen:

  • If you entered a file name on the primary screen, only the commands staged for that file are displayed.
  • If you did not enter a file name on the primary screen, the commands for all the files staged under your user ID are displayed.

The following Execute Commands screen shows all the files staged under a user ID.

FILEMGMT Execute Commands Line 1 of 8 REPORT Use: OUTFILE ACTIVE _ Immediate _ Delayed INACTIVE _ Use: ________ X ProcFile: FMOUTPUT Password: _ Filename: ABC DECREASE 03/31/2005 _ Filename: ABC INCREASE 03/31/2005 Password: Inactive _ Record: ABC REDEFINE 03/31/2005 _ Field: EMPLOYEE FIRST NAME REDEFINE 03/31/2005 _ Field: EMPLOYEE ID REDEFINE 03/31/2005 _ Field: EMPLOYEE INITIAL REDEFINE 03/31/2005 _ Field: EMPLOYEE LAST NAME REDEFINE 03/31/2005 ===> 1=HELp 2= 3=QUIt 4= 5=REPort 6=EXEcute 7= 8= 9= 10= 11=DELcmds 12=

FILEMGMT displays the names of files and their records, field groups, and fields. For each item, FILEMGMT displays the current or most recently executed command. To the right of the command, FILEMGMT displays the command status — for example, whether the command is pending, was executed successfully, or could not be executed because of an error condition or privilege violation. All the items that have been selected for execution at least once display a status. To the right of the status, FILEMGMT displays the date the command was requested.

FILEMGMT prompts you only for items that are currently staged by displaying an underscore character (_) in the prefix area to the left of the item name.

If a requested operation affects a set of records, field groups, or fields (for example, a file creation or record definition), FILEMGMT displays a prefix prompt only for the highest order of entity type. For example, file creation is a single operation, affecting the file and all of its records, field groups, and fields. Typing X in the file prefix area and pressing F6 confirms the file creation and automatically submits for execution all the Model 204 commands constructed for this file and its entries.

Execution options

The dictionary administrator determines the default execution option and the available options. Execution options determine how and when FILEMGMT executes the commands on the Execute Commands screen.

If your system supports more than one mode, you can override the default by specifying the option you want on the ACTIVE or INACTIVE line of the Execute Commands screen. Your choice affects only the items you select for the current session. The default option is restored for subsequent sessions.

FILEMGMT provides the following options:

Option Function
Active Immediate Commands for selected items are executed immediately after FILEMGMT verifies that you have the necessary privileges to execute the commands.
Active Delayed Commands for selected items are flagged as pending after FILEMGMT verifies that you have the necessary privileges to execute the commands. FILEMGMT executes the commands at a later time in batch mode.

Refer to the appropriate section of the Rocket Model 204 Installation Guide for your operating system for more information.

Inactive USE File Commands for selected items are written to a Model 204 directed output (USE) file.

Your run must contain one of these print statements:

  • OUTxxxx file DD statement in the JCL option (z/OS and z/VSE)
  • DEFINE PRINTER statement in the Model 204 CCAIN data stream (z/VM)

If no name is specified, FILEMGMT uses the default file, OUTFILE. If OUTFILE is used, it must be defined with the option DISP=MOD.

Inactive Procedure File Commands for selected items are written to a specified procedure file.

The procedure file name has the format:

FIM.acct.date.time

Where:

  • acct is your login account name.
  • date is the current date (MMDDYY).
  • time is the current time (HHMMSS).

Follow these guidelines when determining execution options:

  • If you select the ACTIVE option, FILEMGMT checks all necessary passwords and privileges. These must be correct before FILEMGMT actually executes the command. If your login account password or the file password is invalid for a particular command, FILEMGMT reports an error condition on the line containing the file name.
  • If the default is INACTIVE, and both USE and procedure files are available, the two options have Xs in the prefix area. Delete one of the Xs before you execute commands in the INACTIVE mode.
  • INACTIVE option does not generate passwords for OPEN statements.
  • INACTIVE option is required if you are recreating or copying a file from an earlier Model 204 release and choose to retain the file format of the earlier release.

The Execute Commands screen displays all the execution options supported by your system, and lets you change (and refine) the option you selected on the File Definition - Organization screen. The option you select on the Execute Commands screen applies to all the commands you select from the screen before you press the F6 (EXEcute) key.

FILEMGMT displays or prompts you for the following information:

Prompt Response
REPORT Use Type the name of a directed output (USE) file to which FILEMGMT is to write a printable report. The report has the same format as the Execute Commands screen, except that the REPORT line shows the user account name and the current date and time.

If you select this option, your run must contain one of these print statements:

  • OUTxxxx file DD statement in the JCL option (z/OS and z/VSE)
  • DEFINE PRINTER statement in the Model 204 CCAIN data stream (z/VM)

Note: Of the four command options described below and in the preceding Execution Options section, the screen prompts only for those that were selected by the DBA on the Dictionary Administration File Management Facility screen.

ACTIVE Commands can be executed in immediate or delayed mode.
    Immediate Commands are executed as soon as you issue the EXEcute command on the Execute Commands screen and FILEMGMT confirms your privileges. FILEMGMT displays X if this is the default for your system. You can type X to select this option if no X is displayed.
    Delayed Commands are ready for execution. They are assigned a status of pending and can be subsequently executed in batch mode. FILEMGMT displays X if this is the default for your system. You can type X to select this option if no X is displayed.
INACTIVE Commands can be written to a Model 204 directed output (USE) file or stored in a procedure.
    Use Commands are written to the USE file specified to the right of the Use prompt. The necessary print statements are the same as for the REPORT Use prompt. Select this option by typing X to the left of the prompt.
ProcFile Commands are written to the procedure file specified to the right of the ProcFile prompt. The format for the procedure file name is described in the Execution options section. Select this option by typing X to the left of the prompt.
Password If you selected the ProcFile option, enter the password (if any) associated with the procedure file. Type a valid password for the file (1-10 characters containing no spaces, commas, or colons).
Filename FILEMGMT displays the name of the file that you entered on the primary screen, or displays the names of all files staged under your user ID.

If the file is currently staged (for example, for a file creation), you can select the file by typing X in the prefix area to the left of the file name. The absence of a prefix prompt means that the file is no longer staged for a command.

FILEMGMT displays on the same line as the file name:

  • FILEMGMT command requested for the file.

    See Commands generated from FILEMGMT for a listing of the commands.

  • Status of the command.

    A status preceded by an asterisk (*) indicates that the command cannot be executed until you provide FILEMGMT with more information. Any other status indicator shows the results of the most recent execution attempt. A blank status indicates the command was never selected for execution.

  • Status Meaning
    CmdGen'd Commands were generated in INACTIVE mode.
    EXEC PENDING

    You executed a command in ACTIVE Immediate mode and were restarted or the system crashed before the command was completed.

    To recover, run DDGEN to ensure your dictionary is synchronized, and reissue the command.

    FilePriv The operation failed because you have insufficient file privileges.
    Fistat The file is physically or logically inconsistent. (See Restarts.)
    M204.nnnn The operation failed because of an incorrect password or some other error condition. nnnn indicates the Model 204 error message number.
    OpenError FILEMGMT was unable to open the file.
    Pending The command was selected but is not yet executed. Pending status occurs in ACTIVE DELAYED mode.
    PrevExecuted The command for a field was previously executed as part of a different record or field group.
    *REC DEFN REQD The record must be completely defined before the command for the record can be executed.
    SizeError The available space is insufficient for an INCREASE command.
    *SIZING REQD The file was staged for CREATE, but sizing information was not provided.
    Successful The command was executed successfully.
    UserPriv You attempted to execute a CREATE command and do not have superuser privileges.

    The date (MM/DD/YY) the command was requested. If the command status is the result of an error or incomplete execution, an asterisk appears in front of the date.

Password If required, type a valid password for the file (1-10 characters containing no spaces, commas, or colons). FILEMGMT indicates on the same line whether the file is active or inactive. Active or Inactive indicates the mode in which the commands for this file were last executed. If you re-execute the commands, you can change the execution mode by selecting another option at the top area of the screen. For more information, see the discussion of execution options, above.
Record FILEMGMT displays the name of a record, field group, or field for which a command Field has been generated. The command, status, and execution date are displayed on the same line. For more information about the line, see the Filename prompt, above.

Execute Commands 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 Execute Commands screen.
F3 QUIt Exits from the Execute Commands screen and returns to the primary screen. Commands that were executed by pressing F6 cannot be backed out by using QUIt.
F5 REPort Writes a report of the commands to the OUTxxxx file. The OUTxxxx file is the file specified in response to the REPORT Use prompt.
F6 EXEcute Executes, sets as pending, or writes to a file for later execution the commands that you selected on the Execute Commands screen. The execution mode depends on the ACTIVE or INACTIVE selection.

The Execute Commands screen is redisplayed after you press F6 to show the updated status of all commands.

F7 BACkward Scrolls backward one screen. If you type BAC at the prompt (===>), followed by a number, FILEMGMT scrolls backward the specified number of lines.
F8 FORward Scrolls forward one screen. If you type FOR at the prompt (===>), followed by a number, FILEMGMT scrolls forward the specified number of lines.
F11 DELcmds Takes you to the Delete Commands screen.

Commands generated from FILEMGMT

The following tables list the commands that FILEMGMT generates for each entity, the screens from which the commands are generated, and the actions that the commands perform.

File commands

Command Generated from... Action
CREATE File Definition screens

File Size Definition screen

File Copy screen

Status is *SIZING REQD; command cannot be executed until sizing is performed.

Creates a physical file and links a file definition to the file.

Status is *SIZING REQD; command cannot be executed until sizing is performed. Sizing is required in order to link a data set name to the physical file.

RECREATE File Definition screens

File Size Definition screen

Recreates the physical file and links a file definition to the file.

Recreates the physical file and links a file definition to the file.

INCREASE File Size Definition screen

Increase/Decrease screen

Resets Table B and Table D sizes.

Resets Table B and Table D sizes.

DECREASE File Size Definition screen

Increase/Decrease screen

Resets Table B and Table D sizes

Resets Table B and Table D sizes.

INC DSN Increase/Decrease screen Adds data sets for the file.
RESET File Size Definition screen

File Parameter Reset screen

Resets file sizing parameters for an existing file.

Resets file organization and security parameters.

SECURE Primary screen Secures Model 204 password.
DESECURE Primary screen Desecures Model 204 password.
INITIALIZE File Initialize screen Initializes the file.
DELETE File Delete screen Deletes file references from the dictionary.

Field commands

Command Generated from... Action
DEFINE Field Name List screen

Field Attributes screen

Field Copy screen, if fields are selected for copying

Record Copy screen

File Size Definition screen, if the file is to be recreated

Defines the field with default attributes.

Defines the field.

Defines the field.

Defines the field.

Defines the field.

REDEFINE Field Attributes screen Redefines the field.
DELETE Field Attributes screen Deletes the field from Model 204 and the dictionary.
RENAME Field Attributes screen Renames the field.
R/R Field Attributes screen Redefines and renames the field.

Record commands

Command Generated from... Action
DEFINE
  1. Record Name List screen
  2. Record Definition screen
  3. Field Definition screen, if the file has no records defined
  4. File Recreate screen, if the field is sorted, hashed, or has record security, and no record has been explicitly defined
  5. File Copy screen, if records are selected for copying
  6. File Copy screen, if no record has been defined to the file
  7. Record Copy screen
  8. File Size Definition screen, if the file is to be recreated
  1. Status is *REC DEFN REQD; cannot be executed until the record is defined.
  2. Defines the record.
  3. Status is *REC DEFN REQD; cannot be executed until the record is defined.
  4. Defines the record.
  5. Defines the record.
  6. Status is *REC DEFN REQD; cannot be executed until the record is defined.
  7. Defines the record.
  8. Defines the record.
REDEFINE Record Definition screen Redefines the record.
DELETE Record Definition screen Deletes the record definition from the dictionary.
RENAME Record Definition screen Renames the record.
R/R Record Definition screen Redefines and renames the record.

Field group commands

Command Generated from... Action
DEFINE Field Group Definition screen

File Size Definition screen, if the file is to be recreated

Defines the field group.

Defines the field group.

REDEFINE Field Group Definition screen Redefines the field group.
DELETE Field Group List screen Deletes the field group definition from the dictionary.
RENAME Field Group List screen Renames the field group.
R/R Field Group Definition screen Redefines and renames the field group.

Deleting commands

To delete commands:

  1. Issue the DELcmds command (or press F9) from the primary screen.
  2. Select the commands you want to delete, and press F6.