KPG1_CTCPC

Copies string values from a catalogue column to a GRP group

Description:

This routine gets NEL values for a given CAT (see SUN/181) column, derived from rows 1 to NEL of a given catalogue, selection, or index, and appends them to the end of the supplied GRP group (a new group is created if necessary).

Invocation

CALL KPG1_CTCPC( CI, GI, NEL, IGRP, STATUS )

Arguments

CI = INTEGER (Given)
The CAT identifier for the catalogue, selection or index containing the required data.
GI = INTEGER (Given)
The CAT identifier for the column, expression or parameter to be evaluated for rows 1 to NEL of the component identified by CI.
NEL = INTEGER (Given)
The number of rows to copy.
IGRP = INTEGER (Given and Returned)
The identiier for the GRP group in which the column values are to be stored. If this is supplied as GRP__NOID, then a new group is created. Otherwise the values are appended to the end of the supplied group.
STATUS = INTEGER (Given and Returned)
The global status.