Home » Products » APIs
Application Program Interfaces to CoSort 
 
Thread-Safe Libraries Accelerate Your Applications

In addition to the many standalone utilities and third-party sort replacements in each CoSort package, you can integrate two distinct high-performance sort APIs within your software. Each satisfies a different class of requirements. You can link these C routines statically or dynamically, and the same calling code runs across all Unix, Linux and Windows platforms.

Both libraries leverage the same underlying high-performance CoSort sorting routine against any volume of input. Inputs and outputs can be in the form of files, pipes, records and record buffers (blocks) streaming from and to multiple calls from your applications simultaneously.

Sort/Merge Operations Only
The traditional CoSort API is now thread-safe, and is documented as cosort_r(). You can call cosort_r() to speed operations which sort or merge high volumes of data. Since your programs configure the input, compare, and output processes into the CoSort engine, you also can apply your own selection and comparison criteria.

The 'r' in cosort_r() refers to the reentrant nature of the call; i.e. you can call the function recursively from multiple processes. This means you can specify multiple sort orderings on the same input, and in the same pass. Flexible architecture also allows you to manage several sort jobs from within a single process, and from within as many processes as you desire.

All Operations
CoSort's multi-purpose SortCL tool is also available for thread-safe application calls, and can leverage the simpler execution of scripts. Embed CoSort's sortcl_routine() library to speed and combine many functions:
• Sort/Merge
• Match/Join
• Aggregate/Calculate
• Filter/Scrub
• Type-Conversions
• Encrypt/De-ID
• Reporting
This API gives you access to all the data transformation, business intelligence, protection, and prototyping functions available in SortCL's data definition and manipulation syntax. Integrating sortcl_routine() into an ETL environment allows you to source and target database tables, as well as files, pipes, and custom input/output procedures.

Need Test Data?
If you're developing applications and need the right types, volumes, and foreign key test data for populating files, reports, or tables, you can make similar utility calls to IRI's RowGen product. RowGen shares the same data layout and manipulation metadata as SortCL. This means you can move easily between test data generation and real data processing.

See also:
Solutions > Data Transformation > Sort/Merge
Customer > Industry Roles > Programmer / ISV
Products > CoSort > SortCL
Solutions > Test Data/Files > Prototyping
Products > RowGen
make text smaller make text larger print this pageemail this page
» Resources
» Next Steps
1-800-333-SORT
1-321-777-8889
Did you find what you were looking for on this page?
YesNoUnsure

What you were looking for:

Include your email address if you would like a response.