Table of Contents

1. Conventions Used in This Manual
<parameter name>
[<optional parameter>]
<previous specification>...
{<alternative-1> | <alternative-2> | ...}
<range>
2. PSORT Command Reference
2.1. Global Options
-rt [<maximum record size>]
-rf <fixed record size>
-rv [<range> [<maximum size>]
-in <input file>...
-out <output file>
-w [<dir>]
-u
-t [<range> ...]
-i
-b <range>...
-mcf
-mcr
-mfr
-q
-v
-m <memory size>
-l <allocation size>
-ibs <buffer size>
-obs <buffer size>
-wb <buffer size>
-rb <buffer size>
-bs <buffer>
*(gt
-sync
-async <buffer count>
-flags [r|s][p|t][b}u]
2.2. Key Fields
-i
-b <range>...
-f <range>...
-c <range>...
2.3. Key Collating Sequences
-k [ [ [-r] <range>] ...]
-r
-n [ [-r] <range> ]...[-d <decimals>] ]
-s [ [ [-r] <range>]... ]
Nested Keys
Default Key
2.4. Notes on -b and -t switches
2.5. Inverted Sorting Sequence
2.6. Command Files and Macros
-#include <filename>
-#define <macro name> <commands>... -#end
2.7. Field Nesting
2.8. Syntax Summary
3. Tips to Minimize Sorting Time
4. Calling PSORT from Another Program
4.1. Building A Custom Sorting Utility
4.2. Larger Programs
4.3. Reducing memory requirements
5. Postman's Sort for Windows
6. Postman's Sort for Windows/NT/95
7. Windows PSORT.DLL
7.1. PSORTW
7.2. Windows 3.1 Prologues/Epilogues
7.3. ADDROUTW
7.4. JOINW
7.5. Notes on PSORTNT.DLL
8. DLL/TSR Applications Interface
8.1. Command Line Switches
-fs <estimated size of file>
-rs <estimated average record size in bytes>
8.2. Function Calls
PSORTHANDLE
PSORTDISPLAY/PSORTDISPLAYPTR
PSORTYIELD/PSORTYIELDPTR
PSORTREAD/PSORTREADPTR
PSORTWRITE/PSORTWRITEPTR
PsortCreate
PsortStart
PsortDestroy
PsortExit
PsortSend
PsortWrite
PsortRetrieve
PsortRead
PsortMessage
Program License
Limited Warranty