On Nov 15, 2:38pm, Stigers, Gregory - ANDOVER wrote:
> Subject: Re: Strange file access problem...
snip...
> One can go to the trouble of defining variables to function this way:
> SETVAR ACD -2 to allow LISTFILE filename,!ACD. It's a pity to have to,
> though.
..and it is unnecessary if you use the newer LISTFILE command rather than
the old trusty LISTF command. Here are the LISTFILE formats from the HELP
text on a 5.5 system. The names under the 'Name" column can be used rather
than format numbers.
Option Name Displayed Information
---------------------------------------------------------------------
-2 ACD Displays the file's ACD (access control
definition). System Managers can view the ACD
for any file. Account Managers can view the ACD
for files in that account. File creators can
view the ACD for their files. Other users can
view an ACD only if that ACD specifies that the
user has RACD (read ACD) access.
For each directory, it displays PATH=absolute
directory name ending in a slash. Next, for each
HFS file within the directory, it displays the
same information as MPE, except that it displays
the file name (at most 255 characters) at the
end of all other information.
-1 LABEL Shows only the file label in hexadecimal.
0 FILES For each file, shows the name of the file
in a multicolumn format. This is the default.
1 SUMMARY Displays the file name, file code, record size,
record format, and other file characteristics
such as ASCII or binary records, carriage-
control option, file type, current end-of-file
location, and the maximum number of records
allowed in the file.
2 DISC Displays the file name, file code, record size,
file type, current end-of-file location, and the
maximum number of records allowed in the file.
It also displays the blocking factor, number of
sectors in use, number of extents currently
allocated, and the maximum number of extents
allowed.
3,-3 DETAIL;PASS
DETAIL Displays the file name, record size, extent
size, number of records, access rights for the
user, and other file characteristics including
the date created, modified, and last accessed.
The same information for MPE and HFS files is
displayed except for the following differences:
o Fully qualified MPE file name is replaced by
an absolute pathname.
o Creator field displays the fully qualified
user ID (user.acct) of the file owner.
o The SECURITY field contains an additional
field SAVE for MPE group entries. It is
blank for entries other than MPE groups.
All file access matrix fields are blank for
anything other than MPE account, MPE group,
and a file in an MPE group.
o The LOCKWORD field is omitted.
The creator, group id, and label address are
omitted in FORMAT=3. These can be obtained by
specifying -3 if you have sufficient capability
(AM or SM).
4 SECURITY Displays the security matrix for the file. This
includes account, group and file-level security,
and the access rights for the user.
For MPE groups and accounts, the security
matrix for group, account, and account-only are
displayed. The rest of the fields of the file
access matrix are blank.
For HFS directories, and files within HFS
directories, all the fields of the file access
matrix are blank. In addition, LISTFILE
displays the message "ACD EXISTS".
5 DATA;PASS
-5 DATA Shows LISTFILE,3 data and all file-specific data
in LISTFILE, 3 type format (that is, KSAM and
SPOOL). If the file has no unique data, only
the option 3 data is shown.
6 QUALIFY Shows the fully qualified (absolute pathname)
of the file.
7 UNIQUE Shows all file specific data in LISTFILE,5 type
format, but does not show LISTFILE,3 data. If
the file has no unique data, only the file name
is displayed.
regards,
Jeff Vance, CSY
--
|