KPG1_CTCPx

Copies values from catalogue columns to an array

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 array OUT.

Invocation

CALL KPG1_CTCPx( CI, NAX, GI, NEL, OUT, 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. If any elements of this array are CAT__NOID, then the corresponding elements of OUT are filled with the row number.
NEL = INTEGER (Given)
The number of rows to copy.
OUT( NEL, NAX ) = ? (Returned)
The returned values.
STATUS = INTEGER (Given and Returned)
The global status.

Notes: