Top
PowerBSORT V7.0 User's Guide
FUJITSU Software

4.2.9 Input record information option (-record)

This specifies the input record information.

Format

-record [ recform=record-format ]
        { [ fldsep=field-separate ] | [ fldsepx=field-separate-hex ] }

4.2.9.1 recform operand

This specifies the record format.

Format

recform=record-format

record-format

This specifies the record format.
When the record format is omitted, it operates assuming that the binary file fixed-length record format is specified in the standard file system of the system. When other files are processed, this specification cannot be omitted. Refer to PowerBSORT Input Output Environment and Specifying fields for the record format that can be specified. Select one of the following.

record-format

Meaning

fix

Binary file fixed-length record format

var

Binary file variable-length record format

txtfix

Text file fixed field specification

txtflt

Text file floating field specification

txtcsv

Text file CSV format

txttsv

Text file TSV format

Note

The binary file variable-length record format cannot be specified at the file of the standard file system of the system.

4.2.9.2 fldsep operand

This specifies field separation character string for the text file floating field specification.
The fldsep operand has an exclusive relationship with the fldsepx operand. When either specification of fldsep operand and fldsepx operand is omitted, tabs or spaces are treated as separation characters of the field.

Format

fldsep=field-separate

field-separate

The field separation character string is specified.
Enclose the field separation character string with double quotation marks (") when it contain any spaces. When double quotation marks (") are specified for the field separation character string, specify the backslash (\) ahead of a double quotation.

Note

When the input code system is Unicode (UTF-32 form), the field separation character string can specify only the character within the range of ASCII code.

Example

  1. Characters "SEPARATE" are specified as field separation character string.

    fldsep=SEPARATE
  2. Characters "F S" are specified as field separation character string.

    fldsep="F S"
  3. Characters "'" are specified as field separation character string.

    fldsep='
  4. Characters """ are specified as field separation character string.

    fldsep=\"
  5. Characters "\" are specified as field separation character string.

    fldsep=\
  6. Characters "**" are specified as field separation character string.

    fldsep=**
  7. Characters "* *" are specified as field separation character string.

    fldsep="* *"

4.2.9.3 fldsepx operand

This specifies field separation character string by the hexadecimal number for the text file floating field specification.
The fldsepx operand has an exclusive relationship with the fldsep operand. When either specification of fldsepx operand and fldsep operand is omitted, tabs or spaces are treated as separation characters of the field.

Format

fldsepx=field-separate-hex

field-separate-hex

The field separation character string is specified by the hexadecimal number.

Example

  1. Character string "AB" (ASCII code) is specified by the hexadecimal number for a field separation character string.

    fldsepx=4142
  2. Character string "<->" (UTF-32LE) is specified by the hexadecimal number for a field separation character string.

    fldsepx=600000002d00000062000000