CitSORT® Options, Statements and Clauses
Options
-bi=c5
Causes CITSort to treat BI
data types as C5
data types. This indicates that data types described as USAGE COMP
should be treated like COMP-5
data items. Note that CITSort interprets the BI
data type as USAGE COMP
and Bigendian. CITSort interprets the C5
data type as USAGE COMP-5
and Littleendian.
As an example:
CITSORT -bi-is-c5 USE PRESIDENTS.DAT RECORD F 85 SORT FIELDS (1,2,NU,D)
GIVE PRES2.TXT ORG LS
you may add -bi-is-c5
at citsort command line
citsort -bi-is-c5 take ....
-test
Verifies syntax alone, without executing the CITSORT
command.
As examples:
[ No syntax errors reported. ]
>citsort -test use presidents.dat record F 85 SORT FIELDS (1,2,NU,D) GIVE PRES5.TXT ORG LS
COBOL-IT Sort/Merge Utility - 2.42
Copyright COBOL-IT S.A.R.L. All rights reserved
Usage of this product is subordinate to a COBOL-IT Enterprise subscription
[ A syntax error reported ]
C:\COBOL\CobolIT\Samples\sort\presidents>citsort -test use presidents.dat record
F 85 SORT FIELDS (1,2,NU.D) GIVE PRES5.TXT ORG LS
COBOL-IT Sort/Merge Utility - 2.42
Copyright COBOL-IT S.A.R.L. All rights reserved
Usage of this product is subordinate to a COBOL-IT Enterprise subscription
Order must be A for ascending, or D for descending (Got ['NU.D'])
-processmax = <int>
Defines the maximum number of processes to use on a multi-processing machine. This must be defined to enable multi-processing.
Note
The –processmax
clause must be issued on the command line, even when using a command file.
An example of a usage of the –processmax
clause with a command file:
>citsort –processmax=4 take commands.txt
-processrec = <int>
Defines the minimum number of records written before creating a new process.
Note
The –processrec
clause must be issued on the command line, even when using a command file.
An example of a usage of the –processrec
clause with a command file:
>citsort –processrec=10000 take commands.txt