next up previous 225
Next: Catalogue inquiry routines
Up: Subroutine interface
Previous: Initialization, opening and closing catalogues


ADAM subroutines

These subroutines interact with the ADAM parameter system. They provide alternatives to CAT_TOPEN (see Section [*], above) for opening a catalogue. They are provided for compatibility with other ADAM libraries and each provides analogous functionality to equivalently named routines in other ADAM libraries.

CAT_ASSOC (PCNAME, MODE; CI; STATUS)
 
Open an existing catalogue; the name of the catalogue is obtained from an ADAM parameter. Argument MODE must always be `READ' in version 8.1 of CAT.

CAT_CREAT (PCNAME; CI; STATUS)
 
Create a new catalogue; the name of the catalogue is obtained from an ADAM parameter.

CAT_EXIST (PCNAME, MODE; CI; STATUS)
 
Attempt to open a catalogue, the name being taken from the ADAM parameter system. If the attempt fails then instead of re-prompting the subroutine returns with an error status. This subroutine can be used to check the existence of a catalogue.



next up previous 225
Next: Catalogue inquiry routines
Up: Subroutine interface
Previous: Initialization, opening and closing catalogues

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