PRIVDEF parameter: Difference between revisions
mNo edit summary |
|||
(9 intermediate revisions by 3 users not shown) | |||
Line 60: | Line 60: | ||
<tr><th align="right"><var>X'0001'</var></th> | <tr><th align="right"><var>X'0001'</var></th> | ||
<td> | <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> | ||
Line 71: | Line 71: | ||
</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 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> | <p> | ||
The parameters affected by this feature are the following:</p> | The parameters affected by this feature are the following:</p> | ||
Line 77: | Line 77: | ||
<table> | <table> | ||
<caption>Security-related parameters</caption> | <caption>Security-related parameters</caption> | ||
<tr><td><var>[[ | <tr><td><var>[[ADDLVL parameter|ADDLVL]]</var> </td> | ||
<td>PRIVDEF </td> | <td>PRIVDEF </td> | ||
<td><var>[[ | <td><var>[[SECTY parameter|SECTY]]</var></td></tr> | ||
<tr><td><var>[[ | <tr><td><var>[[LOGONENQ parameter|LOGONENQ]]</var> </td> | ||
<td><var>[[ | <td><var>[[READLVL parameter|READLVL]]</var> </td> | ||
<td><var>[[ | <td><var>[[SELLVL parameter|SELLVL]]</var></td></tr> | ||
<tr><td><var>[[ | <tr><td><var>[[OPENCTL parameter|OPENCTL]]</var> </td> | ||
<td><var>[[ | <td><var>[[RECSCTY parameter|RECSCTY]]</var> </td> | ||
<td><var>[[ | <td><var>[[UPDTLVL parameter|UPDTLVL]]</var></td></tr> | ||
<tr><td><var>[[ | <tr><td><var>[[PRCLDEF parameter|PRCLDEF]]</var></td> | ||
<td></td> | <td></td> | ||
<td></td></tr> | <td></td></tr> | ||
Line 95: | Line 95: | ||
<table> | <table> | ||
<caption>File size statistics parameters</caption> | <caption>File size statistics parameters</caption> | ||
<tr><td><var>[[ | <tr><td><var>[[ASIZE parameter|ASIZE]]</var></td> | ||
<tr><td><var>[[ASTRPPG_parameter|ASTRPPG]]</var></td><td><var>[[BSIZE_parameter|BSIZE]]</var> </td><td><var>[[FVFPG_parameter|FVFPG]]</var></td></tr> | <td><var>[[BRESERVE parameter|BRESERVE]]</var></td> | ||
<tr><td><var>[[ATRPG_parameter|ATRPG]]</var></td><td><var>[[CSIZE_parameter|CSIZE]]</var> </td><td><var>[[MVFPG_parameter|MVFPG]]</var></td></tr> | <td><var>[[FREESIZE parameter|FREESIZE]]</var></td></tr> | ||
<tr><td><var>[[ | |||
<tr><td><var>[[ | <tr><td><var>[[ASTRPPG_parameter|ASTRPPG]]</var></td> | ||
<tr><td><var>[[ | <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> | ||
Line 106: | Line 123: | ||
<caption>File performance statistics parameters</caption> | <caption>File performance statistics parameters</caption> | ||
<tr><td><var>[[ARETRIES_parameter|ARETRIES]]</var></td> | <tr><td><var>[[ARETRIES_parameter|ARETRIES]]</var></td> | ||
<td><var>[[ | <td><var>[[DPGSUSED_parameter|DPGSUSED]]</var> </td> | ||
<td><var>[[OILEAVES_parameter|OILEAVES]]</var></td></tr> | <td><var>[[OILEAVES_parameter|OILEAVES]]</var></td></tr> | ||
Line 133: | Line 150: | ||
<td><var>[[OVFLDEL_parameter|OVFLDEL]]</var></td></tr> | <td><var>[[OVFLDEL_parameter|OVFLDEL]]</var></td></tr> | ||
<tr><td><var>[[ | <tr><td><var>[[CRETRIES parameter|CRETRIES]]</var></td> | ||
<td><var>[[MSTRDEL_parameter|MSTRDEL]]</ | <td><var>[[MSTRDEL_parameter|MSTRDEL]]</var> </td> | ||
<td><var>[[SPILLADD_parameter|SPILLADD]]</var></td></tr> | <td><var>[[SPILLADD_parameter|SPILLADD]]</var></td></tr> | ||
Line 148: | Line 165: | ||
<td><var>[[HASHKEY_parameter|HASHKEY]]</var></td></tr> | <td><var>[[HASHKEY_parameter|HASHKEY]]</var></td></tr> | ||
<tr><td>DDNAMES (<var>DISPLAY</var> command option)</td> | <tr><td>DDNAMES (<var>[[DISPLAY_FILE_command|DISPLAY]]</var> command option)</td> | ||
<td>FISTAT </td> | <td><var>[[FISTAT_parameter|FISTAT]]</var> </td> | ||
<td>IVERIFY</td></tr> | <td><var>[[IVERIFY_parameter|IVERIFY]]</var></td></tr> | ||
<tr><td>FICREATE </td> | <tr><td><var>[[FICREATE_parameter|FICREATE]]</var> </td> | ||
<td>FITRANS</td> | <td><var>[[FITRANS_parameter|FITRANS]]</var></td> | ||
<td>SORTKEY</td></tr> | <td><var>[[SORTKEY_parameter|SORTKEY]]</var></td></tr> | ||
<tr><td>FIFLAGS </td> | <tr><td><var>[[FIFLAGS_parameter|FIFLAGS]]</var> </td> | ||
<td>FOPT </td> | <td><var>[[FOPT_parameter|FOPT]]</var> </td> | ||
<td>VERIFY</td></tr> | <td><var>[[VERIFY_parameter|VERIFY]]</var></td></tr> | ||
<tr><td>FIFORMAT </td> | <tr><td><var>[[FIFORMAT_parameter|FIFORMAT]]</var> </td> | ||
<td>FRCVOPT</td> | <td><var>[[FRCVOPT_parameter|FRCVOPT]]</var></td> | ||
<td></td></tr> | <td></td></tr> | ||
</table> | </table> |
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.