The SHARE specifier asks the current share status of a file or unit. It takes the following form:
'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 |