### 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$\ast$($\ast$) (Given)
Name of the ADAM parameter from which the catalogue name will be obtained.
##### MODE = CHARACTER$\ast$($\ast$) (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.