CTG_CATAS

Obtain a CAT identifier for an existing catalogue

Description:

The routine returns a CAT identifier for an existing catalogue. The name of the catalogue is held at a given index within a given group. It is equivalent to CAT_ASSOC.

Invocation

CALL CTG_CATAS( IGRP, INDEX, MODE, CI, STATUS )

Arguments

IGRP = INTEGER (Given)
A GRP identifier for a group holding the names of catalogues. This will often be created using CTG_ASSOC, but groups created by hand using GRP directly (i.e. without the supplemental groups created by CTG_ASSOC) can also be used.
INDEX = INTEGER (Given)
The index within the group at which the name of the catalogue to be accessed is stored.
MODE = CHARACTER ( ) (Given)
Type of catalogue access required: ’READ’, or ’WRITE’.
CI = INTEGER (Returned)
catalogue identifier.
STATUS = INTEGER (Given and Returned)
The global status.

Notes: