*Conan The Librarian
Specifies the output file.
Requires read and write access to the directory in which the
output file is created.
The /OUTPUT qualifier creates the specified output file and
writes the report or copies the selected records to that file.
If you omit the /OUTPUT qualifier, or you use the /OUTPUT
qualifier and omit the file specification, the report or selected
records are output to the current SYS$OUTPUT device.
If the file specification does not include the device or
directory name, your current default device or directory is used.
If you omit the file name, the file name of the first input file
is used (the first file listed in the parameter to the ACCOUNTING
command). If you omit the file type, the default file type is
.LIS if you are producing reports, and .DAT if you are copying
1.$ ACCOUNTING MYFILE1.DAT,MYFILE2.DAT /SORT=USER /BINARY /OUTPUT=.NEW
This example creates the output file MYFILE1.NEW in the default
directory. It processes two accounting files, MYFILE1.DAT and
MYFILE2.DAT, sorting their records in user name order, then
copies these records to the new output file.
2.$ ACCOUNTING MYFILE1.NEW /FULL
This example creates the output file
MYDISK:[ACCOUNTING]STAT.LIS, and writes a full report of all
the records in MYFILE1.NEW to the new output file.