3. Instructions
616
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Sorting Tracking Data That Contains Many Records Using a Split Sort
Tracking data that contains 2,048 records is sorted according to the delivery code. To shorten the cycle
time, the sort is executed over multiple cycles.
First word of first record D1000
Record length 5
Number of records 2048
First word of sorting results D200
Sort key Delivery code
Sort options Ascending, Split sort
Setting to end sorting Disabled
Sort results output to index
register
Disabled
#0040
#E799AA34
#0005
#08335642
#0008
#06219836
#0007
#A2000038
#0001
#0092DDC4
#0006
#33900004
#0002
#E830EDFF
#0012
#00225649
#0012
#00225649
#0031
#000803DE
#0001
#0092DDC4
#0045
#00001203
#0502
#01019846
#0002
#E830EDFF
#0006
#00881122
D1000
D1005
D1010
D1015
D1020
D1025
D1030
D11230
#2048
D200
#0060
#500F1C45
D11235
Step 1
The records are
sorted in ascending
order according to
the delivery code
using the RSORT2
instruction. The sort
is split over multiple
cycles.
Number of records to sort