You can use PowerBSORT command line interface by using the bsort or bsortex command. These commands can also be embedded in standard batch files for automated processing.
About the functional difference between the bsort command and the bsortex command
The bsortex command is enhancing of the function of the bsort command. However, the processing definition file option (-P) is an option that can be used only for the bsort command. To employ this option, use the bsort command. The following options are implemented only in the bsortex command.
File separate output option (maxfilesize operand, maxrecnum operand of -output option)
Data can be divided and output into two or more files. The size in which a file is output can be specified by size of a file and the number of records. Also, when files reaches full of the file system, the files can be switched.
Selection option for output files (include operand, omit operand, case operand of -output option)
This option allows you to divide files according to the condition specified for the output record of each output file.
Reconstruction option for output files (reconst operand of -output option)
This option allows you to reconstruct records right before the record is written to the output file in addition to the record reconstruction in inputting.
Summation or suppression processing for output files (-summary option)
The record summation option and suppression option allow you to leave results to the first record and final record of 1 or more record group that have equal key values.
Recognizes EOF control statement character as the end of the file (eof operand of -input option)
If an input file is a text file, whether EOF control statement character is recognized as the end of the file or not can be specified.