PRIVDEF parameter: Difference between revisions
(Automatically generated page update) |
m (misc cleanup) |
||
Line 15: | Line 15: | ||
==Description== | ==Description== | ||
<p>The default user privileges for a public or semi-public file</p> | <p> | ||
<p>Valid settings of <var>PRIVDEF</var> 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 class="head"><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 | |||
<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 | <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><var>[[ | <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><var>[[ | |||
<tr><th align="right"><var>X'0010'</var></th><td | <tr><th align="right"><var>X'0800'</var></th> | ||
<tr><th align="right"><var>X'0008'</var></th><td | <td>Updating of data with internal procedures.</td></tr> | ||
<tr><th align="right"><var>X'0001'</var></th><td>Access to file related parameters. The file parameters <var>[[CURFILE parameter|CURFILE]]</var> and <var>[[CURPRIV parameter|CURPRIV]]</var> are not affected by this setting. </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'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>Access to file related parameters. The file parameters <var>[[CURFILE parameter|CURFILE]]</var> and <var>[[CURPRIV parameter|CURPRIV]]</var> are not affected by this setting. </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> | <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. The <var>CURFILE</var> and <var>CURPRIV</var> parameters are not affected by this feature and are available to all users. (For information on the transformation of <var>PRIVDEF</var> parameters in the password table, see [[Model 204 security features# | 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. The <var>CURFILE</var> and <var>CURPRIV</var> parameters are not affected by this feature and are available to all users. (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> | <p> | ||
The parameters affected by this feature are the following:</p> | The parameters affected by this feature are the following:</p> | ||
Line 46: | Line 77: | ||
<table> | <table> | ||
<caption>Security-related parameters</caption> | <caption>Security-related parameters</caption> | ||
<tr><td>ADDLV </td><td>PRIVDEF </td><td>SECTY</td></tr> | <tr><td>ADDLV </td> | ||
<tr><td>LOGONENQ </td><td>READLVL </td><td>SELLVL</td></tr> | <td>PRIVDEF </td> | ||
<tr><td>OPENCTL </td><td>RECSCTY </td><td>UPDTLVL</td></tr> | <td>SECTY</td></tr> | ||
<tr><td>PRCLDEF</td><td></td><td></td></tr> | |||
<tr><td>LOGONENQ </td> | |||
<td>READLVL </td> | |||
<td>SELLVL</td></tr> | |||
<tr><td>OPENCTL </td> | |||
<td>RECSCTY </td> | |||
<td>UPDTLVL</td></tr> | |||
<tr><td>PRCLDEF</td> | |||
<td></td> | |||
<td></td></tr> | |||
</table> | </table> | ||
Line 64: | Line 106: | ||
<table> | <table> | ||
<caption>File performance statistics parameters</caption> | <caption>File performance statistics parameters</caption> | ||
<tr><td>ARETRIES</td><td>DPSUSED </td><td>OILEAVES</td></tr> | <tr><td>ARETRIES</td> | ||
<tr><td>BEXTOVFL</td><td>EOVFLADD </td><td>OILPACT</td></tr> | <td>DPSUSED </td> | ||
<tr><td>BHIGHPG</td><td>EOVFLDEL </td><td>OINBYTES</td></tr> | <td>OILEAVES</td></tr> | ||
<tr><td>BLOWPG</td><td>EXTNADD </td><td>OINENTRY</td></tr> | |||
<tr><td>BQLEN</td><td>EXTNDEL </td><td>OINODES</td></tr> | <tr><td>BEXTOVFL</td> | ||
<tr><td>BREUSE</td><td>HIGHSORT </td><td>OVFLADD</td></tr> | <td>EOVFLADD </td> | ||
<tr><td>BREUSED</td><td>MSTRADD </td><td>OVFLDEL</td></tr> | <td>OILPACT</td></tr> | ||
<tr><td>CRETRIES</td><td>MSTRDEL </td><td>SPILLADD</td></tr> | |||
<tr><td>DHIGHPG</td><td>OIDEPTH </td><td>SPILLDEL</td></tr> | <tr><td>BHIGHPG</td> | ||
<td>EOVFLDEL </td> | |||
<td>OINBYTES</td></tr> | |||
<tr><td>BLOWPG</td> | |||
<td>EXTNADD </td> | |||
<td>OINENTRY</td></tr> | |||
<tr><td>BQLEN</td> | |||
<td>EXTNDEL </td> | |||
<td>OINODES</td></tr> | |||
<tr><td>BREUSE</td> | |||
<td>HIGHSORT </td> | |||
<td>OVFLADD</td></tr> | |||
<tr><td>BREUSED</td> | |||
<td>MSTRADD </td> | |||
<td>OVFLDEL</td></tr> | |||
<tr><td>CRETRIES</td> | |||
<td>MSTRDEL </td> | |||
<td>SPILLADD</td></tr> | |||
<tr><td>DHIGHPG</td> | |||
<td>OIDEPTH </td> | |||
<td>SPILLDEL</td></tr> | |||
</table> | </table> | ||
<table> | <table> | ||
<caption>Other file-related parameters</caption> | <caption>Other file-related parameters</caption> | ||
<tr><td>DACTIVE</td><td>FILEORG </td><td>HASHKEY</td></tr> | <tr><td>DACTIVE</td> | ||
<tr><td>DDNAMES (<var>DISPLAY</var> command option)</td><td>FISTAT </td><td>IVERIFY</td></tr> | <td>FILEORG </td> | ||
<tr><td>FICREATE </td><td>FITRANS</td><td>SORTKEY</td></tr> | <td>HASHKEY</td></tr> | ||
<tr><td>FIFLAGS </td><td>FOPT </td><td>VERIFY</td></tr> | |||
<tr><td>FIFORMAT </td><td>FRCVOPT</td><td></td></tr> | <tr><td>DDNAMES (<var>DISPLAY</var> command option)</td> | ||
<td>FISTAT </td> | |||
<td>IVERIFY</td></tr> | |||
<tr><td>FICREATE </td> | |||
<td>FITRANS</td> | |||
<td>SORTKEY</td></tr> | |||
<tr><td>FIFLAGS </td> | |||
<td>FOPT </td> | |||
<td>VERIFY</td></tr> | |||
<tr><td>FIFORMAT </td> | |||
<td>FRCVOPT</td> | |||
<td></td></tr> | |||
</table> | </table> | ||
<p>The default setting (X'BFFF') makes all file parameters available to any user of the file. </p> | <p> | ||
The default setting (X'BFFF') makes all file parameters available to any user of the file. </p> | |||
<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> | <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> | ||
Revision as of 21:11, 7 April 2017
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' | Access to file related parameters. The file parameters CURFILE and CURPRIV are not affected by this setting. |
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. The CURFILE and CURPRIV parameters are not affected by this feature and are available to all users. (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:
ADDLV | 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 | DPSUSED | 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.