KPG1_CTCKM

Copies values from catalogue columns to an AST KeyMap

Description:

This routine gets NEL values for a set of given CAT (see SUN/181) columns, derived from rows 1 to NEL of a given catalogue, selection, or index, and stores them in a KeyMap.

Invocation

CALL KPG1_CTCKM( CI, NAX, GI, NEL, KEYMAP, STATUS )

Arguments

CI = INTEGER (Given)
The CAT identifier for the catalogue, selection or index containing the required data.
NAX= INTEGER (Given)
The number of columns from which values are to be read.
GI( NAX ) = INTEGER (Given)
The CAT identifiers for the column, expressions or parameters to be evaluated for rows 1 to NEL of the component identified by CI.
NEL = INTEGER (Given)
The number of rows to copy.
KEYMAP = INTEGER (Given)
The KeyMap. Each column value is stored as a scalar string with key " <colname >_ <row index >" .
STATUS = INTEGER (Given and Returned)
The global status.