Search found 38 matches

by udayanguha
Mon Oct 05, 2015 10:52 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Varchar to decimal transformation in generic RCP job
Replies: 7
Views: 4142

I tried adding a NULL value in the schema file itself and that worked. Thanks all.
by udayanguha
Fri Oct 02, 2015 9:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Varchar to decimal transformation in generic RCP job
Replies: 7
Views: 4142

Hi Andrew,
I have multiple files and there are too many fields like field1 in file1, field2 in file 2 so there's no common fieldname in the files. Every file has its own fields and its own field names.
In this case would I be able to handle the transformation through a generic job?
by udayanguha
Thu Oct 01, 2015 10:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Varchar to decimal transformation in generic RCP job
Replies: 7
Views: 4142

Hi Ray,
Since I am using RCP, I don't even know any of the field names. In that case, how can I use the modify stage to handle any decimal field? Would be really helpful if you can elaborate a bit.
by udayanguha
Thu Oct 01, 2015 9:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Rejecting bad records from sequential file
Replies: 4
Views: 2666

Got my DS access today and the reject link works fine for me. Thanks all for the help.
by udayanguha
Thu Oct 01, 2015 8:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Varchar to decimal transformation in generic RCP job
Replies: 7
Views: 4142

Varchar to decimal transformation in generic RCP job

Hi, I have a generic job which is loading data from sequential file to a database. Sequential_File --> Copy stage --> DB2 connector stage. I have some decimal fields in the sequential file which are blank and I when I try reading the file (through schema file), it gives me the following error; Field...
by udayanguha
Wed Sep 30, 2015 8:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Rejecting bad records from sequential file
Replies: 4
Views: 2666

Hi Thomas, Thanks for the reply. I do not have access to DS right now so I can't check so just a small question. Can I use the reject property of sequential file stage even when I am using the stage as a source stage. I mean, can there be a reject link while reading from a file or a reject link work...
by udayanguha
Tue Sep 29, 2015 10:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Rejecting bad records from sequential file
Replies: 4
Views: 2666

Rejecting bad records from sequential file

Hi, I have a sequential file stage which reads data from a file and propagates it further to the next stage. The problem is that my job fails whenever there's a bad record in the file (like metadata mismatch, different record type in file from the metadata). Is there a way I can reject bad records a...
by udayanguha
Sat Sep 26, 2015 8:57 pm
Forum: General
Topic: Running multiple instance of a job
Replies: 3
Views: 2456

Running multiple instance of a job

Hi All,
I have a multiple instance job which loads data from a table to a file using RCP. I want to run the job for 10 different tables at the same time.How can I do that through
1. Designer and
2. Command line?

Thanks in advance.
by udayanguha
Wed Mar 25, 2015 6:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Removing leading '0' while decimal to varchar conversion
Replies: 4
Views: 3488

I think you are right Ray, because I have a leading space for sign. So that means I first need to remove leading space and then leading '0's or rather stick to DecimalTo String with suppress zero. Thanks Ray. I during this whole time saw this leading Space in the file and it never struck to me that ...
by udayanguha
Wed Mar 25, 2015 6:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Add column to input
Replies: 13
Views: 5622

You can use a sort stage to generate key change column. Then in the transformer through stage variables check for change in key change column and assign value accordingly.
If key change column is '0', assign Y. If previous key change column was 0 and current is '1', assign 'Y' else 'N'
by udayanguha
Tue Mar 24, 2015 7:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Removing leading '0' while decimal to varchar conversion
Replies: 4
Views: 3488

Removing leading '0' while decimal to varchar conversion

Hi, I have a decimal field of length (38,0) in my source table. In the target I want to put it as a varchar field. I am using the TRIM function to remove leading '0's from the source field but '0's are not getting removed. Now I am using DecimalToString function which is working fine. But I am still...
by udayanguha
Thu Mar 05, 2015 3:01 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle table to cobol file output
Replies: 10
Views: 3763

Any help on my issue? Probably it could help 2 people now :):)!!!
by udayanguha
Tue Mar 03, 2015 2:27 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle table to cobol file output
Replies: 10
Views: 3763

Hey priyadarshikunal, If suppose I have a policy and 2 corresponding named insured for the policy. My policy record in the source is: Pol_No, Transaction_dt 1234,20150102 Corresponding named insured records are: Policy_no,F_Name,LName 1234,FNAME1,LNAME1 1234,FNAME2,LNAME2 What I want in my output is...
by udayanguha
Thu Feb 26, 2015 12:09 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle table to cobol file output
Replies: 10
Views: 3763

Oracle table to cobol file output

Hi, I have different oracle tables like: -Policy info -Vehicle info -Driver info -Insured info I want to extract data from all these tables and put it in a cobol payout where data will be like -policyinfo -Corresponding vehicle info -Corresponding driver info -corresponding insured info So my target...
by udayanguha
Wed Feb 25, 2015 3:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Record load getting committed even after job abort
Replies: 14
Views: 5979

Hi Chulett,
Thanks for the suggestion. Just wanted to understand if there's some support E-mail ID where in I need to drop a mail or do I need to contact my company's Datastage administrator?