LOGFILE command: Difference between revisions
Jump to navigation
Jump to search
m (more conversion cleanup) |
(→Syntax) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 8: | Line 8: | ||
==Syntax== | ==Syntax== | ||
<p class="syntax">LOGFILE [<span class="term">filename1</span>] [<span class="term">filename2</span>] | <p class="syntax">LOGFILE [<span class="term">filename1</span>] [,] [<span class="term">filename2</span>] | ||
</p> | </p> | ||
Line 49: | Line 49: | ||
<tr> | <tr> | ||
<th>filename</th> | <th>filename</th> | ||
<td>The name of the file. For Model 204 7.5 and later, and for SirSafe customers before Model 204 7.5, <var class="term">filename</var> is preceded by a colon (<tt>:</tt>) or greater-than sign (<tt>></tt>), as was used on the <var>LOGCTL</var> command that created the entry. A greater-than sign indicates a <var class="product">SirSafe</var>-controlled visible password.</td> | <td>The name of the file. For Model 204 7.5 and later, and for <var class="product">[[SirSafe]]</var> customers before Model 204 7.5, <var class="term">filename</var> is preceded by a colon (<tt>:</tt>) or greater-than sign (<tt>></tt>), as was used on the <var>LOGCTL</var> command that created the entry. A greater-than sign indicates a <var class="product">SirSafe</var>-controlled visible password.</td> | ||
</tr> | </tr> | ||
Line 89: | Line 89: | ||
<tr> | <tr> | ||
<th>aaa</th> | <th>aaa</th> | ||
<td>The field-level security ADD level. (For information on field-level security, see [[ | <td>The field-level security ADD level. (For information on field-level security, see [[Model 204 security features#Field-level security|Field-level security]].)</td> | ||
</tr> | </tr> | ||
Latest revision as of 12:21, 21 April 2019
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 password X'pppp' nnn, sss, rrr, uuu, aaa, terminals
Where:
filename | The name of the file. For Model 204 7.5 and later, and for SirSafe customers before Model 204 7.5, filename is preceded by a colon (:) or greater-than sign (>), as was used on the LOGCTL command that created the entry. A greater-than sign indicates a SirSafe-controlled visible password. |
---|---|
index | The file index, if more than one file has the same name. |
password | The password for the entry. For non-SirSafe customers, password is not present before Model 204 7.5; in Model 204 7.5 and later, it is always displayed as ******** . For SirSafe customers, ******** is displayed for the password if the password is not a SirSafe-controlled password, and the actual password is displayed if it is a SirSafe-controlled password. |
pppp | The two-byte representation of the file privileges. (See the PRIVDEF parameter.) |
nnn | The procedure user class. |
sss | The field-level security SELECT level. |
rrr | The field-level security READ level. |
uuu | The field-level security UPDATE level. |
aaa | The field-level security ADD level. (For information on field-level security, see Field-level security.) |
terminals | 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 the RESET COMMAND command for a discussion of how to direct the output.
- Refer to Password table data set and File password table maintenance for a detailed description of the password table.