PRIVDEF parameter: Difference between revisions
m (Automatically generated page update) |
mNo edit summary |
||
(39 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{Template:PRIVDEF parameter subtitle}} | |||
==Summary== | ==Summary== | ||
<dl> | <dl> | ||
Line 10: | Line 11: | ||
<dd>All | <dd>All | ||
<dt>Introduced | <dt>Introduced | ||
<dd><var class="product">Model 204 | <dd><var class="product">Model 204 V2.1</var> or earlier | ||
</dl> | </dl> | ||
==Description== | ==Description== | ||
<p>The default user privileges for a public or semi-public file</p> | <p> | ||
<p>Valid settings of PRIVDEF are (options can be summed):</p> | The default user privileges for a public or semi-public file</p> | ||
<p> | |||
Valid settings of <var>PRIVDEF</var> are (options can be summed):</p> | |||
<table> | <table> | ||
<tr><th>Setting</th><th>Allows...</th></tr> | <tr class="head"><th>Setting</th><th>Allows...</th></tr> | ||
<tr><th align="right"><var>X'8000'</var></th><td>File manager privileges.</td></tr> | <tr><th align="right"><var>X'8000'</var></th><td>File manager privileges.</td></tr> | ||
<tr><th align="right"><var>X'4000'</var></th><td>Record security override.</td></tr> | |||
<tr><th align="right"><var>X'2000'</var></th><td>Updating of data with ad hoc requests.</td></tr> | <tr><th align="right"><var>X'4000'</var></th> | ||
<tr><th align="right"><var>X'1000'</var></th><td>Changes, other than deletions, to internal procedures.</td></tr> | <td>[[Model 204 security features#Record security|Record security]] override.</td></tr> | ||
<tr><th align="right"><var>X'0800'</var></th><td>Updating of data with internal procedures.</td></tr> | |||
<tr><th align="right"><var>X'0400'</var></th><td>Retrieval of data with ad hoc requests.</td></tr> | <tr><th align="right"><var>X'2000'</var></th> | ||
<tr><th align="right"><var>X'0200'</var></th><td>DISPLAY, echoing, and copying of internal procedures.</td></tr> | <td>Updating of data with ad hoc requests.</td></tr> | ||
<tr><th align="right"><var>X'0100'</var></th><td>Retrieval of data with internal procedures.</td></tr> | |||
<tr><th align="right"><var>X'0080'</var></th><td>Updating of data with external procedures.</td></tr> | <tr><th align="right"><var>X'1000'</var></th> | ||
<tr><th align="right"><var>X'0040'</var></th><td>Retrieval of data with external procedures.</td></tr> | <td>Changes, other than deletions, to internal [[procedures|procedures]].</td></tr> | ||
<tr><th align="right"><var>X'0020'</var></th><td>INCLUDE of internal procedures.</td></tr> | |||
<tr><th align="right"><var>X'0010'</var></th><td>Definition of internal procedures.</td></tr> | <tr><th align="right"><var>X'0800'</var></th> | ||
<tr><th align="right"><var>X'0008'</var></th><td>Deletion of internal procedures.</td></tr> | <td>Updating of data with internal procedures.</td></tr> | ||
<tr><th align="right"><var>X'0001'</var></th><td> | |||
<tr><th align="right"><var>X'0400'</var></th> | |||
<td>Retrieval of data with ad hoc requests.</td></tr> | |||
<tr><th align="right"><var>X'0200'</var></th> | |||
<td><var>[[DISPLAY PROCEDURE command: Procedure text|DISPLAY]]</var>, [[LECHO parameter|echoing]], and [[COPY PROCEDURE_command|copying]] of internal procedures.</td></tr> | |||
<tr><th align="right"><var>X'0100'</var></th> | |||
<td>Retrieval of data with internal procedures.</td></tr> | |||
<tr><th align="right"><var>X'0080'</var></th> | |||
<td>Updating of data with external procedures.</td></tr> | |||
<tr><th align="right"><var>X'0040'</var></th> | |||
<td>Retrieval of data with external procedures.</td></tr> | |||
<tr><th align="right"><var>X'0020'</var></th> | |||
<td><var>[[INCLUDE command|INCLUDE]]</var> of internal procedures.</td></tr> | |||
<tr><th align="right"><var>X'0010'</var></th> | |||
<td>[[PROCEDURE command|Definition]] of internal procedures.</td></tr> | |||
<tr><th align="right"><var>X'0008'</var></th> | |||
<td>[[DELETE PROCEDURE command|Deletion]] of internal procedures.</td></tr> | |||
<tr><th align="right"><var>X'0001'</var></th> | |||
<td>Allows access (VIEW) to all file related parameters. If this bit is off, access to all file parameters, with the exception of CURFILE, is disallowed.</td></tr> | |||
<tr><th colspan="2"><var> | <tr><th colspan="2"><var> | ||
<p>For only a permanent file group:</p> | <p>For only a permanent file group:</p> | ||
</var></th></tr> | </var></th></tr> | ||
<tr><th align="right"><var>X'0004'</var></th><td>Updating of data with procedures from the designated procedure file.</td></tr> | <tr><th align="right"><var>X'0004'</var></th><td>Updating of data with procedures from the designated procedure file.</td></tr> | ||
<tr><th align="right"><var>X'0002'</var></th><td>Retrieval of data with procedures from the designated procedure file. | |||
<tr><th align="right"><var>X'0002'</var></th><td>Retrieval of data with procedures from the designated procedure file. </td></tr> | |||
</table> | </table> | ||
<p>The file manager or the system manager can use the RESET PRIVDEF command to set the privilege-controlling bit of PRIVDEF to 1. | <p> | ||
<p>The parameters affected by this feature are the following:</p> | The file manager or the system manager can use the <code>RESET PRIVDEF</code> command to set the privilege-controlling bit of <var>PRIVDEF</var> to 1. For information on the transformation of <var>PRIVDEF</var> parameters in the password table, see [[Model 204 security features#Determining file and group privileges|Determining file and group privileges]].</p> | ||
<p> | |||
The parameters affected by this feature are the following:</p> | |||
<table> | <table> | ||
< | <caption>Security-related parameters</caption> | ||
<tr>< | <tr><td><var>[[ADDLVL parameter|ADDLVL]]</var> </td> | ||
<tr>< | <td>PRIVDEF </td> | ||
<tr>< | <td><var>[[SECTY parameter|SECTY]]</var></td></tr> | ||
<tr>< | |||
<tr><td><var>[[LOGONENQ parameter|LOGONENQ]]</var> </td> | |||
<td><var>[[READLVL parameter|READLVL]]</var> </td> | |||
<td><var>[[SELLVL parameter|SELLVL]]</var></td></tr> | |||
<tr><td><var>[[OPENCTL parameter|OPENCTL]]</var> </td> | |||
<td><var>[[RECSCTY parameter|RECSCTY]]</var> </td> | |||
<td><var>[[UPDTLVL parameter|UPDTLVL]]</var></td></tr> | |||
<tr><td><var>[[PRCLDEF parameter|PRCLDEF]]</var></td> | |||
<td></td> | |||
<td></td></tr> | |||
</table> | </table> | ||
<table> | <table> | ||
< | <caption>File size statistics parameters</caption> | ||
<tr>< | <tr><td><var>[[ASIZE parameter|ASIZE]]</var></td> | ||
<tr>< | <td><var>[[BRESERVE parameter|BRESERVE]]</var></td> | ||
<tr>< | <td><var>[[FREESIZE parameter|FREESIZE]]</var></td></tr> | ||
<tr>< | |||
<tr>< | <tr><td><var>[[ASTRPPG_parameter|ASTRPPG]]</var></td> | ||
<tr>< | <td><var>[[BSIZE_parameter|BSIZE]]</var> </td> | ||
<td><var>[[FVFPG_parameter|FVFPG]]</var></td></tr> | |||
<tr><td><var>[[ATRPG_parameter|ATRPG]]</var></td> | |||
<td><var>[[CSIZE_parameter|CSIZE]]</var> </td> | |||
<td><var>[[MVFPG_parameter|MVFPG]]</var></td></tr> | |||
<tr><td><var>[[BPGPMSTR parameter|BPGPMSTR]]</var></td> | |||
<td><var>[[DPGSRES parameter|DPGSRES]]</var> </td> | |||
<td><var>[[PDSIZE parameter|PDSIZE]]</var></td></tr> | |||
<tr><td><var>[[BPGPOVFL parameter|BPGPOVFL]]</var></td> | |||
<td><var>[[DRESERVE parameter|DRESERVE]]</var></td> | |||
<td><var>[[PDSTRPPG_parameter|PDSTRPPG]]</var></td></tr> | |||
<tr><td><var>[[BRECPPG parameter|BRECPPG]]</var></td> | |||
<td><var>[[DSIZE_parameter|DSIZE]]</var></td> | |||
<td></td></tr> | |||
</table> | </table> | ||
<table> | <table> | ||
< | <caption>File performance statistics parameters</caption> | ||
<tr>< | <tr><td><var>[[ARETRIES_parameter|ARETRIES]]</var></td> | ||
<tr>< | <td><var>[[DPGSUSED_parameter|DPGSUSED]]</var> </td> | ||
<tr>< | <td><var>[[OILEAVES_parameter|OILEAVES]]</var></td></tr> | ||
<tr>< | |||
<tr>< | <tr><td><var>[[BEXTOVFL_parameter|BEXTOVFL]]</var></td> | ||
<tr>< | <td><var>[[EOVFLADD_parameter|EOVFLADD]]</var> </td> | ||
<tr>< | <td><var>[[OILPACT_parameter|OILPACT]]</var></td></tr> | ||
<tr>< | |||
<tr>< | <tr><td><var>[[BHIGHPG_parameter|BHIGHPG]]</var></td> | ||
<td><var>[[EOVFLDEL_parameter|EOVFLDEL]]</var> </td> | |||
<td><var>[[OINBYTES_parameter|OINBYTES]]</var></td></tr> | |||
<tr><td><var>[[BLOWPG_parameter|BLOWPG]]</var></td> | |||
<td><var>[[EXTNADD_parameter|EXTNADD]]</var> </td> | |||
<td><var>[[OINENTRY_parameter|OINENTRY]]</var></td></tr> | |||
<tr><td><var>[[BQLEN_parameter|BQLEN]]</var></td> | |||
<td><var>[[EXTNDEL_parameter|EXTNDEL]]</var> </td> | |||
<td><var>[[OINODES_parameter|OINODES]]</var></td></tr> | |||
<tr><td><var>[[BREUSE_parameter|BREUSE]]</var></td> | |||
<td><var>[[HIGHSORT_parameter|HIGHSORT]]</var> </td> | |||
<td><var>[[OVFLADD_parameter|OVFLADD]]</var></td></tr> | |||
<tr><td><var>[[BREUSED_parameter|BREUSED]]</var></td> | |||
<td><var>[[MSTRADD_parameter|MSTRADD]]</var> </td> | |||
<td><var>[[OVFLDEL_parameter|OVFLDEL]]</var></td></tr> | |||
<tr><td><var>[[CRETRIES parameter|CRETRIES]]</var></td> | |||
<td><var>[[MSTRDEL_parameter|MSTRDEL]]</var> </td> | |||
<td><var>[[SPILLADD_parameter|SPILLADD]]</var></td></tr> | |||
<tr><td><var>[[DHIGHPG_parameter|DHIGHPG]]</var></td> | |||
<td><var>[[OIDEPTH_parameter|OIDEPTH]]</var> </td> | |||
<td><var>[[SPILLDEL_parameter|SPILLDEL]]</var></td></tr> | |||
</table> | </table> | ||
<table> | <table> | ||
< | <caption>Other file-related parameters</caption> | ||
<tr>< | <tr><td><var>[[DACTIVE_parameter|DACTIVE]]</var></td> | ||
<tr>< | <td><var>[[FILEORG_parameter|FILEORG]]</var> </td> | ||
<tr>< | <td><var>[[HASHKEY_parameter|HASHKEY]]</var></td></tr> | ||
<tr>< | |||
<tr>< | <tr><td>DDNAMES (<var>[[DISPLAY_FILE_command|DISPLAY]]</var> command option)</td> | ||
<td><var>[[FISTAT_parameter|FISTAT]]</var> </td> | |||
<td><var>[[IVERIFY_parameter|IVERIFY]]</var></td></tr> | |||
<tr><td><var>[[FICREATE_parameter|FICREATE]]</var> </td> | |||
<td><var>[[FITRANS_parameter|FITRANS]]</var></td> | |||
<td><var>[[SORTKEY_parameter|SORTKEY]]</var></td></tr> | |||
<tr><td><var>[[FIFLAGS_parameter|FIFLAGS]]</var> </td> | |||
<td><var>[[FOPT_parameter|FOPT]]</var> </td> | |||
<td><var>[[VERIFY_parameter|VERIFY]]</var></td></tr> | |||
<tr><td><var>[[FIFORMAT_parameter|FIFORMAT]]</var> </td> | |||
<td><var>[[FRCVOPT_parameter|FRCVOPT]]</var></td> | |||
<td></td></tr> | |||
</table> | </table> | ||
<p>The default setting | <p> | ||
<p class="note"><b>Note:</b> The following restriction applies for certain | The default setting (X'BFFF') makes all file parameters available to any user of the file. </p> | ||
[[Category: CREATE | <p class="note"><b>Note:</b> The following restriction applies for certain file management facilities and Workshop/204 facilities such as Screen Painter and Procedure Editor: if you open a file without view file parameter security, you might not be able to execute commands against that file.</p> | ||
[[Category:File | |||
[[Category:CREATE parameters]] | |||
[[Category:File parameters]] | |||
[[Category:Parameters]] | [[Category:Parameters]] |
Latest revision as of 23:39, 15 December 2020
Default file privileges
Summary
- Default value
- X'BFFF'
- Parameter type
- File
- Where set
- During file creation, or reset by file manager and system manager
- Related products
- All
- Introduced
- Model 204 V2.1 or earlier
Description
The default user privileges for a public or semi-public file
Valid settings of PRIVDEF are (options can be summed):
Setting | Allows... |
---|---|
X'8000' | File manager privileges. |
X'4000' | Record security override. |
X'2000' | Updating of data with ad hoc requests. |
X'1000' | Changes, other than deletions, to internal procedures. |
X'0800' | Updating of data with internal procedures. |
X'0400' | Retrieval of data with ad hoc requests. |
X'0200' | DISPLAY, echoing, and copying of internal procedures. |
X'0100' | Retrieval of data with internal procedures. |
X'0080' | Updating of data with external procedures. |
X'0040' | Retrieval of data with external procedures. |
X'0020' | INCLUDE of internal procedures. |
X'0010' | Definition of internal procedures. |
X'0008' | Deletion of internal procedures. |
X'0001' | Allows access (VIEW) to all file related parameters. If this bit is off, access to all file parameters, with the exception of CURFILE, is disallowed. |
For only a permanent file group: | |
X'0004' | Updating of data with procedures from the designated procedure file. |
X'0002' | Retrieval of data with procedures from the designated procedure file. |
The file manager or the system manager can use the RESET PRIVDEF
command to set the privilege-controlling bit of PRIVDEF to 1. For information on the transformation of PRIVDEF parameters in the password table, see Determining file and group privileges.
The parameters affected by this feature are the following:
ADDLVL | PRIVDEF | SECTY |
LOGONENQ | READLVL | SELLVL |
OPENCTL | RECSCTY | UPDTLVL |
PRCLDEF |
ASIZE | BRESERVE | FREESIZE |
ASTRPPG | BSIZE | FVFPG |
ATRPG | CSIZE | MVFPG |
BPGPMSTR | DPGSRES | PDSIZE |
BPGPOVFL | DRESERVE | PDSTRPPG |
BRECPPG | DSIZE |
ARETRIES | DPGSUSED | OILEAVES |
BEXTOVFL | EOVFLADD | OILPACT |
BHIGHPG | EOVFLDEL | OINBYTES |
BLOWPG | EXTNADD | OINENTRY |
BQLEN | EXTNDEL | OINODES |
BREUSE | HIGHSORT | OVFLADD |
BREUSED | MSTRADD | OVFLDEL |
CRETRIES | MSTRDEL | SPILLADD |
DHIGHPG | OIDEPTH | SPILLDEL |
DACTIVE | FILEORG | HASHKEY |
DDNAMES (DISPLAY command option) | FISTAT | IVERIFY |
FICREATE | FITRANS | SORTKEY |
FIFLAGS | FOPT | VERIFY |
FIFORMAT | FRCVOPT |
The default setting (X'BFFF') makes all file parameters available to any user of the file.
Note: The following restriction applies for certain file management facilities and Workshop/204 facilities such as Screen Painter and Procedure Editor: if you open a file without view file parameter security, you might not be able to execute commands against that file.