### CAT_ASSOC

Open an existing catalogue; the name of the catalogue is obtained from an ADAM parameter

#### Description:

Open an existing catalogue; the name of the catalogue is obtained from an ADAM parameter. If an existing catalogue is opened with MODE = ’WRITE’ then it is overwritten.

#### Invocation

CALL CAT_ASSOC (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: READ - the catalogue may only be read from, WRITE - a new catalogue is to be written.
##### CI = INTEGER (Returned)
Catalogue identifier.
##### STATUS = INTEGER (Given and Returned)
The global status.