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