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