Top
PowerBSORT V7.0 User's Guide
FUJITSU Software

7.5.21 BSRTSKIP structure

The BSRTSKIP structure is a structure to define the number of records to be skipped when skipping unnecessary records from the head of the input files before processing.
The size of the area when the area of BSRTSKIP structure is secured can be calculated by using BS_SKIPTABSIZE(n). BS_SKIPTABSIZE(n) is a macro to calculate the size of n pieces of BSRTSKIP structures.

typedef struct {
    unsigned long    entry_no;
    unsigned long    skip_recnum[1];
} BSRTSKIP;

BSRTSKIP structure member

In the following, it explains about the member of the BSRTSKIP structure.

entry_no

This specifies the number of entries of skipped numbers of records.
When 0 is specified, this means that the specification of the skipped number of records was omitted.

skip_recnum[n]

This specifies the number of records to be skipped.
When 0 is specified, all the records are processed. Specify the number of the records for each input file according to the order of specification of the input files. When the specified number of records to be skipped is less than the input files, all the records in the input files that have not been specified are processed. When the specified number of records to be skipped is more than the number of input files, the specification that exceeds the number of the files are ignored.