Vectors..using them

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
lateshj
Participant
Posts: 12
Joined: Wed Nov 05, 2003 11:54 pm

Vectors..using them

Post 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
Post Reply