PowerBSORT processes each option in the following order.
Data input processing
Input record selection processing
Input record reconstruction processing
Sort processing, merge processing and Copy processing
Record summation processing
Output record selection processing
Output record reconstruction processing
Data output processing
Therefore, if the location of the field is changed by the input record reconstruction processing, the location of the field in the files to be specified after the processing also is different from the one in the input record. Specify the location of the record according to the following rules.
Input selection field
The field is always specified based on the input record.
Input reconstruction field
The field is always specified based on the input record.
Key field
Normally, it is specified based on the input record. However, in the case of using the input record reconstruction option, the field is specified based on the record after the reconstruction.
Summation field
Normally, it is specified based on the input record. However, in the case of using the input record reconstruction option, the field is specified based on the record after the reconstruction.
Output selection field
Normally, it is specified based on the input record. However, in the case of using the input record reconstruction option, the field is specified based on the record after the reconstruction.
Output reconstruction field
Normally, it is specified based on the input record. However, in the case of using the input record reconstruction option, the field is specified based on the record after the reconstruction.