4.3.1 ソート機能
- 〈この項の構成〉
(1) exsortコマンド形式
exsort※ [△-p△parameter-file-name ] [△-function△sort] [△-locatajst] [△-cmdopt△command-option[:command-option … ]] [△{ -key△key-definition[△key-definition … ] |-csvkey△csv-key-definition[△csv-key-definition … ]}] [△{ -sum[△field-definition[△field-definition … ]] |-csvsum[△csv-field-definition[△csv-field-definition … ]]}] [△-inpfile [△fileorg=organization-type ] [△file=file-name[△file-name … ]] [△reclen=record-length] [△{skiprec=skip-record-number|startrec=start-record-number}] [△stopaft=stop-record-number ] [△recsepa=record-separator-type] [△cellsepa="{TAB|'cell-separator'} [△{TAB|'cell-separator'} … ]"] [△quottype=quotation-type] [△currency=currency-symbol] [△round=option-code] [△nullseq=option-code] [△codetype=encode] [△{ reorg="reorganization-format[△reorganization-format … ]" |csvreorg="csv-reorganization-format [△csv-reorganization-format … ]"}] [△{{include|omit}="condition-expression" |{csvinclude|csvomit}="csv-condition-expression"}]] [△{-reorg△"reorganization-format[△reorganization-format … ]" |-csvreorg△"csv-reorganization-format [△csv-reorganization-format … ]"}] [△-outfile [△fileorg=organization-type] [△file=file-name[△file-name … ]] [△reclen=record-length] [△minlen=minimum-record-length] [△recsepa=record-separator-type] [△{ cellsepa="{TAB|'cell-separator'}" |cellsepa="{TAB|'cell-separator-in_1'} △{TAB|'cell-separator-out_1'} [△{TAB|'cell-separator-in_2'} △{TAB|'cell-separator-out_2'} …]"}] [△cellnum={ADJUST|cell-number}] [△quottype=option-code] [△padding={X|Z|"C'padding-character'"|"X'hex-digit'"}] [△{ reorg="reorganization-format[△reorganization-format … ]" |csvreorg="csv-reorganization-format [△csv-reorganization-format … ]"}] [△{ {include|omit}="condition-expression" |{csvinclude|csvomit}="csv-condition-expression"}]] [△-outfile … ] [△-sorttmpdir△temporary-directory1] [△-mergetmpdir△temporary-directory2] [△-worksize△{ buffer-size [unit ] |auto[,max-buffer-size [unit ] ] |incore[,max-buffer-size [unit ] ] }] [△-dateopt△base-year] [△-altseq△code=convert-code[△convert-code … ]] [△-iosize{ △iosize |[△inpiosize=input-file-iosize] [△outiosize=output-file-iosize] [△sorttmpiosize=sort-temporary-file-iosize] [△mergetmpiosize=merge-temporary-file-iosize]}] |
- (凡例)
-
△ :1個以上のスペース(空白),またはタブを示す
[ ] :省略できることを示す
… :繰り返して指定できることを示す
{ } :この記号で囲まれている項目のうち1組の項目を選択することを示す
| :{ }で囲んだ項目の区切りを示す
斜体文字:値を任意に指定できることを示す
- 注※
-
使用しているSORT EEが64ビット版対応の場合,コマンド名は「exsort64」となります。
(2) exsortパラメタファイル形式
[<code=character-code>]※ [-function△sort] [-locatajst] [-cmdopt△command-option[:command-option … ]] [{ -key△key-definition[△key-definition … ] |-csvkey△csv-key-definition[△csv-key-definition … ]}] [{ -sum[△field-definition[△field-definition … ]] |-csvsum[△csv-field-definition[△csv-field-definition … ]]}] [-inpfile [△fileorg=organization-type] [△file=file-name[△file-name … ]] [△reclen=record-length ] [△{skiprec=skip-record-number|startrec=start-record-number}] [△stopaft=stop-record-number] [△recsepa=record-separator-type] [△cellsepa={TAB|'cell-separator'}[△{TAB|'cell-separator'} … ]] [△quottype=quotation-type] [△currency=currency-symbol] [△round=option-code] [△nullseq=option-code] [△codetype=encode] [△{ reorg=reorganization-format[△reorganization-format … ] |csvreorg=csv-reorganization-format[△csv-reorganization-format … ]}] [△{ {include|omit}=condition-expression |{csvinclude|csvomit}=csv-condition-expression}]] [{ -reorg△reorganization-format[△reorganization-format … ] |-csvreorg△csv-reorganization-format[△csv-reorganization-format … ]}] [-outfile [△fileorg=organization-type ] [△file=file-name[△file-name … ]] [△reclen=record-length] [△minlen=minimum-record-length] [△recsepa=record-separator-type] [△{ cellsepa={TAB|'cell-separator'} |cellsepa={TAB|'cell-separator-in_1'} △{TAB|'cell-separator-out_1'} [△{TAB|'cell-separator-in_2'} △{TAB|'cell-separator-out_2'}…]}] [△cellnum={ADJUST|cell-number}] [△quottype=option-code] [△padding={X|Z|C'padding-character'|X'hex-digit'}] [△{ reorg=reorganization-format[△reorganization-format … ] |csvreorg=csv-reorganization-format[△csv-reorganization-format … ]}] [△{ {include|omit}=condition-expression |{csvinclude|csvomit}=csv-condition-expression}]] [-outfile … ] [-sorttmpdir△temporary-directory1] [-mergetmpdir△temporary-directory2] [-worksize△{buffer-size [unit ] |auto[,max-buffer-size [unit ] ] |incore[,max-buffer-size [unit ] ] }] [-dateopt△base-year] [-altseq△code=convert-code[△convert-code … ]] [-iosize{ △iosize |[△inpiosize=input-file-iosize] [△outiosize=output-file-iosize] [△sorttmpiosize=sort-temporary-file-iosize] [△mergetmpiosize=merge-temporary-file-iosize]}] |
- (凡例)
-
△ :1個以上のスペース(空白),またはタブを示す
[ ] :省略できることを示す
… :繰り返して指定できることを示す
{ } :この記号で囲まれている項目のうち1組の項目を選択することを示す
| :{ }で囲んだ項目の区切りを示す
斜体文字:値を任意に指定できることを示す
- 注※
-
exsortコマンドのパラメタ・オペランドではありません。パラメタファイルを記述した文字コードの種類を指定します。