Search found 500 matches

by ag_ram
Wed Apr 18, 2007 10:09 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date in Lookup Stage
Replies: 27
Views: 8301

Hi Pravin

To set the property to reject , you have go to the constraints and set lookup to drop/continue/fail/reject . You have set it to fail and thats y the job ends with a failure
by ag_ram
Thu Apr 12, 2007 6:31 am
Forum: IBM<sup>®</sup> DataStage TX
Topic: Getting file names for Extracts
Replies: 3
Views: 3197

Getting file names for Extracts

Hi Folks I have a extract job where i use file pattern to merge files into a singular DataSet. The file names are like Data-1.csv Data-2.csv I use a file pattern Data-*.csv to merge it , is it possible to distinguish what data came from which file ..or i'd be ending up using 2 extract jobs
by ag_ram
Thu Apr 12, 2007 6:28 am
Forum: IBM<sup>®</sup> DataStage TX
Topic: How to Find Matching and Unmatching records from two files?
Replies: 4
Views: 6638

Re: How to Find Matching and Unmatching records from two fil

I am having two input files as - input 1 input 2 A A B B C C F D E I want output as : A with data from Input 1 and Input 2 B with data from Input 1 and Input 2 C with data from Input 1 and Input 2 D E F with data from Input 1 Or if is not possible then create two outputs Output 1 - Matched records ...
by ag_ram
Fri Apr 06, 2007 4:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Using the Change Capture stage
Replies: 4
Views: 1690

Thanks for your replies The following was the mistake i had made The inputs were hash partitioned and sorted , and i was giving the partition to be Auto in the stage Thanks to you too Vincent , i need data from only one file where keys were same so the "after" link was that , if uniques we...
by ag_ram
Tue Apr 03, 2007 4:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Using the Change Capture stage
Replies: 4
Views: 1690

Using the Change Capture stage

Hello Folks I have a requirement to merge 2 files , with precedence to the first file. I have used a change capture to do this . File1 is copied and one is put to output and other link is put to change capture, file2 is directly put to change capture . After ChangeCapture data is merged with file1 d...
by ag_ram
Fri Mar 30, 2007 7:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Specifying UNIX EOF as Record Delimiter
Replies: 3
Views: 1962

Specifying UNIX EOF as Record Delimiter

Hi Folks

How can we specify UNIX EOF as record Delimiter while reading a Sequential file
by ag_ram
Tue Mar 27, 2007 6:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Comparing non key columns , with mulltiple inputs
Replies: 1
Views: 1288

Comparing non key columns , with mulltiple inputs

Hello Folks In one of the jobs we have , we extract a Year from Database and compare that with all the rows (each row has a year column) . Right now i use a CG , using Dummy keys i lookup the input from DB and append the year to all columns . Then it is taken to a Transformer to do a comparison . Is...
by ag_ram
Tue Mar 27, 2007 4:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error executing dsrecords utility
Replies: 1
Views: 681

Error executing dsrecords utility

Hello Folks Tried to execute the "dsrecords" utility , i get the following error . Is there some Env variables that need to be set additionally for Execution Could not load program ./dsrecords: Dependent module liborchaix3.a(libtemp.o) could not be loaded. Could not load module liborchaix3...
by ag_ram
Fri Mar 23, 2007 8:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date comparisons from Non-Transformer stages
Replies: 3
Views: 1553

Date comparisons from Non-Transformer stages

Hi folks

I have a requirement where i have to do check if the Date supplied in the input is less than x Days from the current date . We do have a Transformer utility (DaysSinceDate) , is the same possible from Non-Transformer stages ?
by ag_ram
Fri Mar 23, 2007 5:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Upsert data from multiple files to single file
Replies: 3
Views: 1299

Split file1 using a Copy stage into two streams. The first stream, all rows from file 1, go to output. The second stream is compared with data from file 2 using the stage of your choice (Change Capt ... I tried doing the same , not on actual job but as a POC . 1|AA|100 1|AA|25 2|BB|101 2|BB|26 3|DD...
by ag_ram
Fri Mar 23, 2007 4:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Upsert data from multiple files to single file
Replies: 3
Views: 1299

Upsert data from multiple files to single file

Hello folks I have 2 files , each row is defined by 3 Key Columns . Apart from that i have 2 Non Key columns as well . Some keys are common on both the files , preference to the output then goes to data from first file . If the records are unique on either files, they qualify for output automaticall...
by ag_ram
Thu Mar 22, 2007 8:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Compare row then increase
Replies: 3
Views: 1714

Re: Compare row then increase

Hi, Please how will I solve such a scenario? I have a column A: 23434 45235 AB234 13443 12444 AB324 13443 AB324 12334 I want such an output 23434 1 45235 2 AB234 3 13443 3 AB324 4 13443 4 AB324 5 12334 5 Basically if column A[1,2]="AB" the number remains the same. I defined sth like this ...
by ag_ram
Wed Mar 21, 2007 9:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Check existence of a file from a Transformer
Replies: 5
Views: 2466

DSguru2B wrote:Sure you can. You need to write a routine that checks for file existence and returns an appropriate return value which you can then check inside the transformer and proceed. I wrote a simple one months back. Search for it here.
Any keywords that i have to look for search ..
by ag_ram
Wed Mar 21, 2007 8:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Check existence of a file from a Transformer
Replies: 5
Views: 2466

Check existence of a file from a Transformer

Hey Folks

Is it possible to find if a file exists from a transformer stage ..can we have a constraint defined based on the existence and non existence of a file
by ag_ram
Tue Mar 20, 2007 10:20 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Modify Stage- DaysSinceFromDate syntax
Replies: 13
Views: 10112

Re: Modify Stage- DaysSinceFromDate syntax

I am trying to count the of days between the Transaction date and the date posted. What is the correct syntax for the modify stage. NumofDays = DaysSinceFromDate (DatePosted,TransDate) Thanks. if you are looking for the transformer function , here is a sample of how to use that DaysSinceFromDate(In...