next up previous 225
Next: CAT_TOPEN - Open a catalogue and obtain an identifier to it
Up: Detailed subroutine specifications
Previous: CAT_TIQAt - Inquire the value of a single attribute for a component


CAT_TNDNT - Get an identifier for the Nth (pre-existing) component of a given type

Description:
Get an identifier for the Nth (pre-existing) component of a given type. If N components of the required type could not be found for the specified catalogue then the null identifier (CAT__NOID is returned) and the running status remains ok.
Invocation:
CALL CAT_TNDNT (CI, IDTYP, N; GI; STATUS)
Arguments:
CI = INTEGER (Given)
Catalogue identifier.
IDTYP = INTEGER (Given)
Type of identifier required, coded as follows: CAT__CITYP - catalogue, CAT__FITYP - column (or field), CAT__QITYP - parameter, CAT__EITYP - expression, CAT__IITYP - index, CAT__SITYP - selection, CAT__JITYP - join.
N = INTEGER (Given)
Number of the component, of the specified type, that is required.
GI = INTEGER (Returned)
Identifier to the required component. If the required component could not be found GI is set to CAT__NOID.
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_TOPEN - Open a catalogue and obtain an identifier to it
Up: Detailed subroutine specifications
Previous: CAT_TIQAt - Inquire the value of a single attribute for a component

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