| Contents: | Main | Chapter | See Also: | Getting Started Manual | Advanced User Manual | |||
This entry point determines if a user has access to a file.
| DIFILE |
(Required) The file number of the file on which you want to verify file access. |
|
| DIAC |
(Required) Use one of the values listed below to verify the specified type of file access: |
|
| "RD" | Verify Read access to a specific file. | |
| "WR" | Verify Write access to a specific file. | |
| "AUDIT" | Verify Audit access to a specific file. | |
| "DD" | Verify DD access to a specific file. | |
| "DEL" | Verify Delete access to a specific file. | |
| "LAYGO" | Verify LAYGO access to a specific file. | |
| DIAC |
DIAC returns either a 0 or a 1: |
|
| 1 | Indicates that the user has that type of access to the file. NOTE: If the user's DUZ(0)="@", the value 1 is always returned. | |
| 0 | Indicates that the user does not have access of that type to the file. | |
| % |
The % variable returns exactly the same values as DIAC. |
|
Reviewed/Updated: March 4, 2007