Top
PowerBSORT V7.0 User's Guide
FUJITSU Software

5.3.30 RconCmdStr property

This property specifies the reconstruction field of the sort processing, merge processing and copy processing.

Syntax

object.RconCmdStr = string

object

This specifies object expressions that define references to objects.

string

This specifies the reconstruction field according to the formats.

Format of string

{ pos.len | slf.len typ } [ { pos.len | slf.len typ } ...]

pos.len

This specifies positions and length of the input record. Put a period ( . ) between pos and len. When the specified field does not exist in the input record, an error occurs. Specify pos and len to make the length shorter than the minimum record length in the file as for the text file or the files in the variable-length record format.

slf.len typ

This specifies literal value by the value, length and data format. Put a period ( . ) between slf and len. For information about the data format and length that can be specified for literal value, refer to the 1.6.4.4 Data formats that can be specified in the literal value of the reconstruction field.

Description

Note

When you use the record reconstruction option, specify the key fields, position (pos) of the summation field and lengths (len) that are specified in KeyCmdStr property and SumCmdStr property for the record after the reconstruction.

Example

  1. The fields in 10 bytes from the 20th byte, the one in 12 bytes from the 50th bytes, the one in 22 bytes from the 30th byte are sequentially copied and reconstruct the input records. The length of the record after the reconstruction is 44 bytes. The record separator is added for text files. In the text floating field specification, the field separation character is added.

    19.10,49.12,29.22
  2. Character string 'abc' of ASCII code that is 3 bytes long from the head of the record is embedded and a field in 10 bytes from the 20th byte of the input record is copied and the input record is reconstructed. The record length after the reconstruction is 13 bytes. The record separator is added for text files. In the text floating field specification, the field separation character is added.

    'abc'.3asc,19.10