The BSORT function is a generic name of the function to use PowerBSORT from the C language program. Five functions are provided.
Function name | Overview |
---|---|
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. | |
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. | |
This passes records from user applications to dynamic link library (DLL) of PowerBSORT in the sort option. | |
This receives the sorted record from dynamic link library (DLL) of PowerBSORT in the sort option. | |
This passes records from user application to dynamic link library (DLL) of PowerBSORT and receives the merged records from PowerBSORT in the merge option. |
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.
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 |