% @(#)copy_tt.hlq 17.1.1.1 (ESO-IPG) 01/25/02 17:43:26 %++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ %.COPYRIGHT (c) 1990 European Southern Observatory %.IDENT copy_tt.hlq %.AUTHOR JDP, IPG/ESO %.KEYWORDS MIDAS, help files, COPY/TT %.PURPOSE On-line help file for the command: COPY/TT %.VERSION 1.0 12-OCT-1983 : Creation, JDP %---------------------------------------------------------------- \se SECTION./TT \es\co COPY/TT 12-OCT-1983 JDP \oc\su COPY/TT intable incolumn [outable] outcolumn copy a table column to an other existing table \us\pu Purpose: Copy a table column to another existing table \up\sy Syntax: COPY/TT intable incolumn [outable] outcolumn \ys\pa intable = input table name \ap\pa incolumn = input column reference \ap\pa outable = optional output table name. Default is the input table The output table MUST already exist. \ap\pa outcolumn = output column label \ap\no Note: If the reference column is not defined, entries are copied sequentially. If the reference column is defined both in the input and output tables, entries with equal reference value are copied. The reference column for a table is defined with the command SET/REFCOLUMN. The functions are the same if you use the same table as input and output. Note that in this case, if the reference column is not defined (sequence number is acting as reference), then the N selected entries are copied to the first N rows. This command can be used to transform a column of a certain type to a column of an another type. \on\sa See also: PROJECT/TAB, COPY/TAB, SET/REFC \as\exs Examples: \ex COPY/TT TABLE1 :INPUT TABLE2 :OUTPUT \xe \sxe