Search found 112 matches

by chetan.c
Fri Apr 13, 2012 5:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Partioning of Data.
Replies: 5
Views: 1857

Hi Jwiles,

Thanks.
Yes I do not have column on which I can sort and partition.
But what could be the reason for such behaviour of the job?

Thanks,
Chetan.C
by chetan.c
Thu Apr 12, 2012 6:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Partioning of Data.
Replies: 5
Views: 1857

Thanks ray.
But can you please let me know what could be the problem?
by chetan.c
Thu Apr 12, 2012 4:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Partioning of Data.
Replies: 5
Views: 1857

Partioning of Data.

Hi, My job design looks like this externalsourcestage--->transformer---sequential file. The script in External source stage give output in on single column like below. sample1.txt 100 sample2.txt 150 .. . In the transformer I am deriving filename by the below expression in stage variable. index(DSLi...
by chetan.c
Fri Mar 23, 2012 12:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Combine columns from Dataset and tables.
Replies: 7
Views: 2758

Combine columns from Dataset and tables.

Hi,
I have data like this.
Dataset,
col1,col2,col3.

Table:
tab1,tab2,tab3.

My output should be
col1,col2,col3,tab1,tab2,tab3.

There are no keys in both data on which i can join.

Please let me know if further clarification required.

Thanks,
Chetan.C
by chetan.c
Mon Mar 19, 2012 3:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Perform Operation on only one column External filter stage
Replies: 0
Views: 1014

Perform Operation on only one column External filter stage

Hi, I have two input columns col1 col2 Data Filename In the external filter stage i am calculating byte size of col1. I want my output to be Col1 Col2 Byte_size(Data) Filename In the external filter stage is it possible to perform operation only on one column? Thanks, Chetan.C
by chetan.c
Sat Mar 17, 2012 12:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compress multiple XML's to one XML and get byte offsets
Replies: 1
Views: 900

Compress multiple XML's to one XML and get byte offsets

Hi, I have multiple XML's coming in after some parsing through Java Transformer. I have to create a large XML out of these and get byte size of each XML and also get byte offset of each XML in the large XML. This larger XML has to be compressed and stored. Can i do this in Datastage .I'm on 8.7 para...
by chetan.c
Fri Mar 16, 2012 7:33 am
Forum: General
Topic: Generate unique ID in sequence for each run of a job
Replies: 5
Views: 1723

I need one sequence that can be used across all the jobs.

Thanks,
Chetan.C
by chetan.c
Fri Mar 16, 2012 7:12 am
Forum: General
Topic: Generate unique ID in sequence for each run of a job
Replies: 5
Views: 1723

Hi Craig,

What is the best way to do this?
I do not have the freedom to save in any table so i have to store this value on file system.
This file needs to be update after each run and the next run must Pick up this value+1.

How can I implement it?

Regards,
Chetan.c
by chetan.c
Fri Mar 16, 2012 6:35 am
Forum: General
Topic: Generate unique ID in sequence for each run of a job
Replies: 5
Views: 1723

Generate unique ID in sequence for each run of a job

Hi, I need to generate a run id for each run the of the job. For the next run the value must be incremented. The approach i know is storing the value in the table and calling select max query in unix script and extract that data in User variables and use it in job as job parameters. Is there any oth...
by chetan.c
Thu Mar 15, 2012 2:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Surrogate generation from sequence.
Replies: 0
Views: 928

Surrogate generation from sequence.

Hi, I'm trying to understand the Surrogate key generator stage. Below is my job design to test the Surrogate jey generator stage with Oracle Sequence. Surrogate_key_gen----->Flat_File/Peek. What i'm trying to do is to configure the Surrogate key stage to generate the key from Oracle sequence and vie...
by chetan.c
Mon Mar 12, 2012 3:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Read "|" delimited data from a java code.
Replies: 6
Views: 2009

Yes right.
I am using column import itself, it was typo.

Now splitting into columns at code itself.
by chetan.c
Mon Mar 12, 2012 2:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Read "|" delimited data from a java code.
Replies: 6
Views: 2009

So column export is not a good option?

Thanks,
Chetan.C
by chetan.c
Mon Mar 12, 2012 2:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential File Null Value Field
Replies: 4
Views: 11934

Hi,
Please try this.
Sequential file stage-->output tab--->Format tab--->Field defaults.
On the right side you will see "Available properties to add".
Select Null Field Value.

Thanks,
Chetan.C
by chetan.c
Mon Mar 12, 2012 1:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Read "|" delimited data from a java code.
Replies: 6
Views: 2009

Currently trying out column inport stage.
But want know how recieve the data as seperate columns from the Code.

Thanks.
by chetan.c
Mon Mar 12, 2012 1:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Read "|" delimited data from a java code.
Replies: 6
Views: 2009

Read "|" delimited data from a java code.

Hi All, I have a java transformer stage which is giving output as below. col1|col2|col3... data1|data2|data3| . . I want to recieve this data and use this for a join. Currently the java code is giving the output as a string. Do I need to split data there into different columns or split string later ...