Top
PowerBSORT V7.0 User's Guide
FUJITSU Software

7.1 What is the BSORT function

The BSORT function is a generic name of the function to use PowerBSORT from the C language program. Five functions are provided.

BSORT function list

Function name

Overview

bsrtopen

This loads dynamic link library (DLL) of PowerBSORT into the virtual storage and requests the address of other functions. In addition, it prepares the execution environment of PowerBSORT.

bsrtclse

This deletes the execution environment of PowerBSORT. Also, it deletes dynamic link library (DLL) of PowerBSORT loaded into the virtual storage in bsrtopen function from the virtual storage.

bsrtput

This passes records from user applications to dynamic link library (DLL) of PowerBSORT in the sort option.

bsrtget

This receives the sorted record from dynamic link library (DLL) of PowerBSORT in the sort option.

bsrtmrge

This passes records from user application to dynamic link library (DLL) of PowerBSORT and receives the merged records from PowerBSORT in the merge option.

Combinations of functions

BSORT functions include five functions as shown in the BSORT function list.
Functions to be used depend on the options to use and forms of input and output. The combinations of BSORT functions that are related to the functions of PowerBSORT are shown below.

Table 7.1 Options of PowerBSORT for use and related BSORT function list

Function name

Sort option

Merge option

Copy option

bsrtopen

Always used

Always used

Always used

bsrtclse

Always used

Always used

Always used

bsrtput

Can be used

Not used

Not used

bsrtget

Can be used

Not used

Not used

bsrtmrge

Not used

Can be used

Not used