This specifies the output file.
When the Output file option (-o) and the Standard output option (-w) are specified at the same time, the specification of the Standard output option (-w) is disregarded. Files can be divided and output to two or more files as a recovery processing by specifying two or more Output file options (-o) when the output file abnormally terminates. Therefore, set on another file system when two or more files are specified. The recovery processing can be specified at the following files.
System standard file (binary file or text file)
NetCOBOL file uses the high speed access library for a NetCOBOL sequential file (libbscblfast64.so)
NetCOBOL file uses the high speed access library for a NetCOBOL physical sequential file (libbscblpsfast64.so)
Format
-o outfile [ -o outfile ...]
outfile
This specifies output file path name.
As for the output file path names containing blanks, enclose the file name with double quotation marks (").
Example
The example of describing the output file path name that contains blank is shown below.
-o "/out files/output file"
When /output1/sortout1 is specified for the output file, and continuation is output to /output2/sortout2 as recovery processing when the output file exceeds the limit of the file system, it is specified as follows:
-o /output1/sortout1 -o /output2/sortout2