Search found 87 matches

by Raamc
Sat Jun 21, 2008 2:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading multiple files from a sequential file stage
Replies: 8
Views: 3742

Why can't we use *. and *.csv formats in file pattern.

I have used the follwoing in my jobs.
SOURCE:
FILE PATTERN: #pSOURCE#/BRANCH_NUMBER/*.*

to read set of 10 text files and it has worked.
by Raamc
Sat Jun 21, 2008 1:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Record Count in Sequential file using Filter
Replies: 4
Views: 1521

Record Count in Sequential file using Filter

Hi, I need to count the number of rows in 10 sequential files and need to write into another sequential file. Instead of reading all the records and counting the record count in AGGREGATOR stage, i thought of using FILTER OPTION in SEQUENTIAL FILE for counting the counts. I have used 10 sequential f...
by Raamc
Tue Jun 10, 2008 3:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Is Oracle 11g compatible to DataStage version 8?
Replies: 1
Views: 1448

Is Oracle 11g compatible to DataStage version 8?

Hi,
Can any one confirm me that Oracle 11g compatiable to Datastage V8.

Cheers,
by Raamc
Fri May 23, 2008 8:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: APT_DUMP_SCORE?
Replies: 3
Views: 1707

APT_DUMP_SCORE?

Hi, My Job has 3 input datasets, one join stage, 1 transformer stage and a sequential file. I added the Environment variable APT_DUMP_SCORE in my job. I got below information in the log ...... ds9: {op6[2p] (parallel buffer(0)) [pp] eSame=>eCollectAny op9[2p] (parallel APT_JoinSubOperator(0) in jnDl...
by Raamc
Tue May 06, 2008 3:40 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Double to Decimal Conversion
Replies: 3
Views: 1437

Double to Decimal Conversion

Hi, I need to populate the Sum of all amount fields for an account into a sequential file. In my job, i am reading the input file and passing the account number as key and calculating the sum of all amounts. The aggregator producing the sum of amounts in to a field of type DOUBLE. If i drag this dou...
by Raamc
Tue May 06, 2008 3:22 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Cumulative Sum's
Replies: 3
Views: 5831

I designed my job with the Keychange column property in sort stage and staging variables in the transformer stage as below. with the Key Change column property in the before sort stage i am capturing whether the key is changing or remaining same or not. And in the staging variable in transformer, if...
by Raamc
Mon May 05, 2008 10:01 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Cumulative Sum's
Replies: 3
Views: 5831

Cumulative Sum's

Hi, I am trying to calculate the cumulative sum of amounts for an account in my job. I have a file with the sample data as below ACCNO AMOUNT ================ 123 12 123 13 123 03 234 5 234 5 234 6 In the target file i want o/p to be ACCNO AMOUNT ==================== 123 12 123 25 123 28 234 5 234 1...
by Raamc
Tue Apr 29, 2008 3:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sort key "myKey" no longer exists in dataset schem
Replies: 2
Views: 1953

Sort key "myKey" no longer exists in dataset schem

Hi all, I'm getting the following warning in a simple job that reads from an oracle table stage (SQL query) - sorts the data stream - bit of transformation and writes it simultaneoulsy to a dataset and a sequential file. I have ensured the partitioning to be correct all through out - the runtime col...
by Raamc
Fri Apr 25, 2008 4:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Droping Columns in FILTER stage
Replies: 8
Views: 2140

Hi All,

Thanks for the Replies.

I am using the COPY stage as suggested by RAY for drop the columns. :P
by Raamc
Wed Apr 23, 2008 4:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Droping Columns in FILTER stage
Replies: 8
Views: 2140

Droping Columns in FILTER stage

Hi, I need to drop some of the columns from Input file. I am using the FILTER stage immediately after the sequential file to filter out some records. I know that the COPY stage is the best practice for dropping the columns. Here my doubt is, instead of using another stage, can we drop columns in the...
by Raamc
Tue Apr 01, 2008 11:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Pivot Error
Replies: 4
Views: 2698

We have removed the PIVOT stage from the job and implemented the same functionality using the Transformer and Funnel.

But the performance is not as expected.
by Raamc
Mon Mar 31, 2008 10:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Pivot Error
Replies: 4
Views: 2698

Pivot Error

Hi, In my job i need to convert the columns as rows. I have used the PIVOT stage for that. Job is working fine in my development environment and producing the report as required. If i import the same job in System test server and run the job, the job getting aborted at PIVOT stage and producing the ...
by Raamc
Mon Feb 25, 2008 10:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Integers in fixedWidthfile
Replies: 3
Views: 1579

You can also use the following code..
Space(maxlength-Trim(In.column)):In.column
:wink:
by Raamc
Thu Feb 14, 2008 10:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Changing field datatype from Double to Decimal
Replies: 10
Views: 14663

Ray,
Im able to see that when I use Aggregation Type as calculation. But I dont find it for Aggregation Type=count rows.
by Raamc
Thu Feb 14, 2008 5:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Changing field datatype from Double to Decimal
Replies: 10
Views: 14663

Thanks for your responce Ray.
I dont find this 'global Decimal Output' sub-property in Aggregator for a column for which we take the 'count rows' as Aggregation Type.