selection of rows satisfying some expression.
The selection may be created from either a genuine catalogue or some previous selection from a
The expression can involve both indexed and unindexed columns. If indexed columns are involved,
they are NOT used to optimise the selection.
CALL CAT_SELCT (CI, EI,
REJFLG; SI, NUMSEL, SIR, NUMREJ; STATUS)
CI = INTEGER (Given)
catalogue or selection from which the new selection is to be generated. Note that CI may
be either a catalogue or a selection identifier.
EI = INTEGER (Given)
Identifier to the
logical expression defining the selection criteria.
REJFLG = LOGICAL (Returned)
indicating whether or not a second selection of the rejected rows is to be created: .TRUE. - create
the catalogue of rejected rows, .FALSE. - do not create the catalogue of rejected rows.
SI = INTEGER (Returned)
Selection identifier to the set of selected rows.
Number of rows selected.
SIR = INTEGER (Returned)
selection identifier to the set of rejected rows. If the rejected rows are not being retained
then SIR is set to the null identifier.
NUMREJ = INTEGER (Returned)
Number of rows
STATUS = INTEGER (Given and Returned)
The global status.
Copyright (C) 1999 Central Laboratory of the Research Councils