next up previous 225
Next: CAT_FGT0F - Get the formatted value of a scalar expression or field for a given row
Up: Detailed subroutine specifications
Previous: CAT_EIDNT - Get an identifier for an expression


CAT_EXIST - Attempt to open a catalogue, the name being taken from the ADAM parameter system

Description:
Attempt to open a catalogue, the name being taken from the ADAM parameter system. If the attempt fails then instead of re-prompting the routine returns with an error status. This routine can be used to check the existence of a catalogue.
Invocation:
CALL CAT_EXIST (PCNAME, MODE; CI; STATUS)
Arguments:
PCNAME = CHARACTER$*$($*$) (Given)
Name of the ADAM parameter from which the catalogue name will be obtained.
MODE = CHARACTER$*$($*$) (Given)
Mode in which the catalogue will be accessed. One of: WRITE - an new catalogue is to be written.
CI = INTEGER (Returned)
Catalogue identifier. If the specified catalogue is not opened successfully, the null identifier is returned.
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_FGT0F - Get the formatted value of a scalar expression or field for a given row
Up: Detailed subroutine specifications
Previous: CAT_EIDNT - Get an identifier for an expression

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