next up previous 225
Next: Component manipulation
Up: Subroutine interface
Previous: ADAM subroutines

Catalogue inquiry routines

These routines perform general `high-level' inquiries on a catalogue. CAT_TCOLS is not strictly necessary; its function is provided by CAT_TDETL. However, it is convenient in practice.

CAT_TDETL (CI, COLFLG; NUMROW, NUMCOL, NUMIND, NUMPAR, DATE; STATUS)
 
Get the details of a catalogue. In CAT version 8.1  argument COLFLG should be set to CAT__GPHYS.

CAT_TROWS (CI; NUMROW; STATUS)
 
Get the number of rows in a catalogue, selection or index. This routine may be given a catalogue, selection or index identifier. It will return the number of rows in the catalogue, selection or index, as appropriate.

CAT_TCOLS (CI, COLFLG; NUMCOL; STATUS)
 
Get the number of columns in a catalogue. In CAT version 8.1  argument COLFLG should be set to CAT__GPHYS.

CAT_TIDTP (GI; IDTYP; STATUS)
 
Determine the type of an identifier. The codes for the various types of identifiers are shown in Table [*].



next up previous 225
Next: Component manipulation
Up: Subroutine interface
Previous: ADAM subroutines

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