VMS Help
ACCOUNTING, /BRIEF
*Conan The Librarian (sorry for the slow response - running on an old VAX)
|
|
Produces a brief report of the selected records.
Format
/BRIEF (default)
The /BRIEF qualifier is the default. It produces a brief report
of the selected records. The report is directed to the current
SYS$OUTPUT device, unless you use the /OUTPUT qualifier to write
it to a file. (Note that /OUTPUT is Alpha-only.)
Each line of a brief report corresponds to a record in the
accounting file. It does not show resources used, but gives the
information shown in the following table about each record in the
accounting file.
Column Description
Date/Time When the record was logged in the accounting file.
Type The type of the record.
Subtype For records of type IMAGE, this is the name of
the image (the file name portion of its file
specification). For records of type PROCESS, it is
the type of the process (BATCH, DETACHED, INTERACTIVE,
NETWORK, or SUBPROCESS).
User The user name. For login failures where the user did
name not give a valid user name, this is shown as <login>.
ID The process identifier (PID). For print jobs, this is
the PID of the process that submitted the job.
Source The terminal associated with an interactive process or,
for DECnet for OpenVMS requests, the name of the node
that issued the request.
Status The final exit status code, expressed as a hexadecimal
value.
To translate the final exit status code into the equivalent
message text, use the F$MESSAGE lexical function, and precede
the status code with %X, as in this example:
$ MESSAGE = F$MESSAGE(%X00000001)
$ SHOW SYMBOL MESSAGE
MESSAGE = "%SYSTEM-S-NORMAL, normal successful completion"
See also the /BINARY qualifier, which copies the selected records
to a file, and the /FULL and /SUMMARY qualifiers, which produce
full and summary reports of the selected records.
You cannot use the /BRIEF qualifier with the /BINARY, /FULL,
or /SUMMARY qualifiers.
$ ACCOUNTING
This example produces a brief report of all records in the file
SYS$MANAGER:ACCOUNTNG.DAT.
[legal]
[privacy]
[GNU]
[policy]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.