next up previous 225
Next: CAT_SFNDt - Create a selection of rows within a given range
Up: Detailed subroutine specifications
Previous: CAT_RSTXT - Reset the access to the textual information in a catalogue


CAT_SELCT - Create a selection of rows satisfying some expression

Description:
Create a selection of rows satisfying some expression.

The selection may be created from either a genuine catalogue or some previous selection from a catalogue.

The expression can involve both indexed and unindexed columns. If indexed columns are involved, they are NOT used to optimise the selection.

Invocation:
CALL CAT_SELCT (CI, EI, REJFLG; SI, NUMSEL, SIR, NUMREJ; STATUS)
Arguments:
CI = INTEGER (Given)
Input 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)
Flag 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.
NUMSEL = INTEGER (Returned)
Number of rows selected.
SIR = INTEGER (Returned)
Optional 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 rejected.
STATUS = INTEGER (Given and Returned)
The global status.
Copyright
Copyright (C) 1999 Central Laboratory of the Research Councils
Bugs:
None known


next up previous 225
Next: CAT_SFNDt - Create a selection of rows within a given range
Up: Detailed subroutine specifications
Previous: CAT_RSTXT - Reset the access to the textual information in a catalogue

CAT [1ex
Starlink User Note 181
A.C. Davenhall
4th April 2001
E-mail:ussc@star.rl.ac.uk

Copyright © 2001 Council for the Central Laboratory of the Research Councils