LOGFILE command: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Automatically generated page update)
 
Line 11: Line 11:
   
   
<b>Where:</b>
<b>Where:</b>
<p>filename1 and filename2 are the names of files in the password table.</p>
<p><var class="term">filename1</var> and <var class="term">filename2</var> are the names of files in the password table.</p>
<table>
<table>
<tr> <th>If specifying... </th> <th>Model&nbsp;204 lists...</th> </tr>
    
    
<tr> <th>If specifying... </th> <th><var class="product">Model&nbsp;204</var> lists...</th> </tr>
<tr> <th><var>Neither</var> filename1 <var>nor</var> filename2</th>  
 
<td>All file entries in the password table.</td> </tr>
<tr> <th><var>
<p>Neither filename1 nor filename2</p>
</var></th> <td>
<p>All file entries in the password table.</p>
</td> </tr>
   
   
<tr> <th><var>
<tr> <th><var>Only</var> filename1</th> <td>
<p>Only filename1</p>
</var></th> <td>
<p>Entries for that file.</p>
<p>Entries for that file.</p>
</td> </tr>
</td> </tr>
   
   
<tr> <th><var>
<tr> <th><var>Only</var> filename2 </th> <td>
<p>Only filename2 </p>
<p>File entries starting at the beginning of the password table and extending through the file name entry. A comma is required if only <var class="term">filename2</var> is specified. Otherwise, either a comma or one or more blanks can be specified.</p>
</var></th> <td>
<p>File entries starting at the beginning of the password table and extending through the file name entry. A comma is required if only filename2 is specified. Otherwise, either a comma or one or more blanks can be specified.</p>
</td> </tr>
</td> </tr>
   
   
<tr> <th><var>
<tr> <th><var>Both</var> filename1 <var>and</var> filename2 </th> <td>
<p>Both filename1 and filename2 </p>
<p>File entries starting at the <var class="term">filename1</var> entry and extending through the <var class="term">filename2</var> entry.</p>
</var></th> <td>
<p>File entries starting at the filename1 entry and extending through the filename2 entry.</p>
</td> </tr>
</td> </tr>
    
    
</table>
</table>
==Example==
==Example==
<p class="code">LOGFILE
<p class="code">LOGFILE

Revision as of 19:24, 1 March 2013

Summary

Privileges
System manager
Function
Lists file entries in the password table, including privileges, but not passwords

Syntax

LOGFILE [filename1] [filename2]

Where:

filename1 and filename2 are the names of files in the password table.

If specifying... Model 204 lists...
Neither filename1 nor filename2 All file entries in the password table.
Only filename1

Entries for that file.

Only filename2

File entries starting at the beginning of the password table and extending through the file name entry. A comma is required if only filename2 is specified. Otherwise, either a comma or one or more blanks can be specified.

Both filename1 and filename2

File entries starting at the filename1 entry and extending through the filename2 entry.

Example

LOGFILE LOGFILE CENSUS LOGFILE CENSUS, TCENSUS LOGFILE , TCENSUS

Usage notes

The LOGFILE command lists one or more file entries in the password table. The list is produced in alphabetical order.

Each file entry displayed by LOGFILE has the following format:

filename index X'pppp' nnn, sss, rrr, uuu, aaa, terminals

Where:

filename is the name of the file.
index is the file index if more than one file has the same name.
pppp is the two-byte representation of the file privileges. (See PRIVDEF: Default user privileges.)
nnn is the procedure user class.
sss is the field-level security SELECT level.
rrr is the field-level security READ level.
uuu is the field-level security UPDATE level.
aaa is the field-level security ADD level. (For information on field-level security, see the Model 204 File Manager's Guide.)
terminals is ALL, NONE, or a list of authorized terminals.

Sending LOGFILE output to the USE data set

If there is an open USE data set, the LOGFILE command output is directed to it. See RESET COMMAND: Control USE data set support for a discussion of how to direct the output.

Refer to the Model 204 System Manager's Guide for a detailed description of the password table.