Page 1 of 1

Vectors..using them

Posted: Mon Mar 01, 2004 2:28 am
by lateshj
Hi,

I wanted to know how do we use Vector Columns.

Following is my code structure

Code: Select all

1. Input: Sequential File (Col0,Col1,Col2)
2. Make Vector: converting the 3 columns into one
3. Output: DataSet (Col)
Now the output data set has the schema as below
record
( Col[3]: string[max=10000];
)

Wanted to know how can I reference & update the individual elements in a PX transformer to do processing..

usage of DSLink6.Col[1] does not work as below,
ERROR:TFCP 13:52:29(000) <transform> transform/evalexp.C(1.8.2.22),1420: Missing index for vector: Col[line24, character10].

Tx
Latesh