4.3.4 ファイル分割機能
- 〈この項の構成〉
(1) exsortコマンド形式
exsort※ [△-p△parameter-file-name] [△-function△{sort|merge|copy}] [△{ -splitfile [△fileno=split-file-number] [△method={reccnt|filesize}] |-splitdata [△{recno=split-record-number|spno=split-file-size}] [△{ nosplitdata=no-split-data-definition [△no-split-data-definition … ] |nosplitcsvdata=no-split-csv-data-definition [△no-split-csv-data-definition … ]}] |-splitkey [△{ key=split-key-definition[△split-key-definition … ] |csvkey=split-csv-key-definition [△split-csv-key-definition … ]}] [△{recno=split-record-number |spno=split-file-size}]}] [△-splitinp [△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"}]] [△-splitout [△fileorg=organization-type] [△{suffix|prefix}={output-generic-name|output-directory-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"}]] [△-splitout … ] [△-splittmpdir△split-temporary-directory] [△-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 … ]]}] [△{ -reorg△"reorganization-format[△reorganization-format … ]" |-csvreorg△"csv-reorganization-format [△csv-reorganization-format … ]"}] [△-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] [△splittmpiosize=split-temporary-file-iosize]}] |
- (凡例)
-
△ :1個以上のスペース(空白),またはタブを示す
[ ] :省略できることを示す
… :繰り返して指定できることを示す
{ } :この記号で囲まれている項目のうち1組の項目を選択することを示す
| :{ }で囲んだ項目の区切りを示す
斜体文字:値を任意に指定できることを示す
- 注※
-
使用しているSORT EEが64ビット版対応の場合,コマンド名は「exsort64」となります。
(2) exsortパラメタファイル形式
[<code=character-code>]※ [-function△{sort|merge|copy}] [{ -splitfile [△fileno=split-file-number] [△method={reccnt|filesize}] |-splitdata [△{recno=split-record-number|spno=split-file-size}] [△{ nosplitdata=no-split-data-definition [△no-split-data-definition … ] |nosplitcsvdata=no-split-csv-data-definition [△no-split-csv-data-definition … ]}] |-splitkey [△{ key=split-key-definition[△split-key-definition … ] |csvkey=split-csv-key-definition [△split-csv-key-definition … ]}] [△{recno=split-record-number|spno=split-file-size}]}] [-splitinp [△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}]] [-splitout [△fileorg=organization-type] [△{suffix|prefix}={output-generic-name|output-directory-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}]] [-splitout … ] [-splittmpdir△split-temporary-directory] [-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 … ]]}] [{ -reorg△reorganization-format[△reorganization-format … ] |-csvreorg△csv-reorganization-format[△csv-reorganization-format … ]}] [-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] [△splittmpiosize=split-temporary-file-iosize]}] |
- (凡例)
-
△ :1個以上のスペース(空白),またはタブを示す
[ ] :省略できることを示す
… :繰り返して指定できることを示す
{ } :この記号で囲まれている項目のうち1組の項目を選択することを示す
| :{ }で囲んだ項目の区切りを示す
斜体文字:値を任意に指定できることを示す
- 注※
-
exsortコマンドのパラメタ・オペランドではありません。パラメタファイルを記述した文字コードの種類を指定します。