The SHARE specifier asks the current share status of a file or unit. It takes the following form:
SHARE = shr
Is a scalar default character variable.
On Windows* systems, this variable is assigned one of the following values:
'DENYRW' |
If the file is connected for deny-read/write mode |
'DENYWR' |
If the file is connected for deny-write mode |
'DENYRD' |
If the file is connected for deny-read mode |
'DENYNONE' |
If the file is connected for deny-none mode |
'UNKNOWN' |
If the file or unit is not connected |
On Linux* and Mac OS* X systems, this variable is assigned one of the following values: