Top
PowerBSORT V7.0 User's Guide
FUJITSU Software

B.5 How to Specify the Arranging ASCII code in Order of EBCDIC or the Arranging EBCDIC in Order ASCII code

How to specify the arranging ASCII code in order of EBCDIC

Specify the ASCII code system for the input code system, and specify EBCDIC for data format of the key field. Moreover, specify the conversion methods between ASCII code and EBCDIC.

Example

  1. Example of specifying bsort command

    bsort -s -z 100 -20.8ebca -q au -Q 1 bsortin -o bsortout
  2. Example of specifying bsortex command

    bsortex -sort key=20.8ebca -input reclen=100 file=bsortin -output file=bsortout -option icode=au iconv=1

How to specify the arranging EBCDIC in order of ASCII code

Specify the EBCDIC code system for the input code system, and specify ASCII code for data format of the key field. Moreover, specify the conversion methods between ASCII code and EBCDIC.

Example

  1. Example of specifying bsort command

    bsort -s -z 100 -20.8asca -q eb -Q 2 bsortin -o bsortout
  2. Example of specifying bsortex command

    bsortex -sort key=20.8ebca -input reclen=100 file=bsortin -output file=bsortout -option icode=au iconv=1

Note

The following processing cannot be performed.

  • Arrange the field of the shift-JIS code in order of the EBCDIC/JEF code.

  • Arrange the field of the EBCDIC/JEF code in order of the shift-JIS code.

  • Arrange the field of the Unicode (UCS-2/UTF-32/UTF-8) in order of the EBCDIC/JEF code.

  • Arrange the field of the EBCDIC/JEF code in order of the Unicode (UCS-2/UTF-32/UTF-8).