Search found 147 matches

by Titto
Fri Feb 09, 2007 6:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Dataset files - same name in different output folders
Replies: 3
Views: 1784

Dataset files - same name in different output folders

Hi, Need some information about at situation where wirting a same dataset files in differnt output/target folder for example I am writing a SampleDataSet.ds in /path/firstenv/SampleDataSet.ds and the second one with the same name as SampleDataSet.ds in /path/secondenv/SampleDataSet.ds and i am using...
by Titto
Wed Jan 24, 2007 9:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need to know what all ETL jobs used the Oracle Tables
Replies: 14
Views: 4651

Hello Guys thanks for the different kind of inputs and solutions. Kim, We need this to be done with out high priority but we need to have this cross referrence some time next month. I will try doing some solutions provided. Keep you posted, but if any one has come up with good solutions please share...
by Titto
Mon Jan 22, 2007 2:53 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need to know what all ETL jobs used the Oracle Tables
Replies: 14
Views: 4651

Need to know what all ETL jobs used the Oracle Tables

HI,

Is there a way to find out in PX, what all ETL jobs been used a particular Table or File?

As we are using ODBC section and used User Defined SQL's.

Any Help is appreciated.

thanks
by Titto
Wed Dec 27, 2006 8:49 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Not able to see the ETl jobs and categories
Replies: 6
Views: 2873

narasimha wrote:Check this post
Do a reindex, but this time with exclusive access to DataStage.
Thank you guys!
i followed the process and it solved the issue
by Titto
Wed Dec 27, 2006 6:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Not able to see the ETl jobs and categories
Replies: 6
Views: 2873

narasimha wrote:I am sure you would have done this.
But while re-building the index did you make sure nobody was logged on?
I think there was some one logged in.
So what would be the option to bring back the Categories and Jobs?

thank
by Titto
Wed Dec 27, 2006 6:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Not able to see the ETl jobs and categories
Replies: 6
Views: 2873

Not able to see the ETl jobs and categories

we tried to run the re-build index using DS.TOOLS option and looks like to aborted in between. When we log og back to DS designer we are not able to see any categories under JOBS folder? Any reason why are not able to see them? But we can open the recently opened ETL jobs from DS Directory - so look...
by Titto
Wed Dec 13, 2006 2:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to increase the Sequence number in PX from Oracle
Replies: 14
Views: 9197

Welcome aboard :D You can get that value directly in the stage var. Write a before job routine or script to extract max SL_NO and assign it one job parameter. Then use this parameter while generating the SL_NOs. But as the job will be parallel, you will have to take care of parallelism while genera...
by Titto
Thu Dec 07, 2006 8:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Truncate and reload the table using ODBC
Replies: 5
Views: 2086

chulett wrote: First select and land the records from the table. Then a separate job to truncate and reload. Two steps.
I did split the job into 2 jobs - one create a load file and the next job to truncate and insert the new load file.

Thanks for the Information.

~Titto
by Titto
Wed Dec 06, 2006 9:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Truncate and reload the table using ODBC
Replies: 5
Views: 2086

Truncate and reload the table using ODBC

Hi, I am trying to select from a Table-A using ODBC section in the process and funnel the records with new records and Truncate and Write the new records to the Table-A. But when i am tying to select from Table-A, it is not fetching any records as the Table-A has no records - but there are records i...
by Titto
Tue Apr 25, 2006 4:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CheckSum in PX
Replies: 2
Views: 1071

CheckSum in PX

Hi,
can we use CheckSum in PX environment ?
may be a dumb question - when i tried in PX job it says function not there, but tried search in PX message board i found 3 hits.

thanks
by Titto
Wed Apr 12, 2006 9:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Getting surrogate keys back from a db2 sequence
Replies: 12
Views: 4475

When using NEXTVAL in the INSERT statement you don't get the value back. That's the whole point. It's faster. Hi Ray, but i need the latest Sequence number to write out to a file, can i use CURRVAL after the NEXTVAL (Insert statement) - in next stage, can it give the recently inserted value? please...
by Titto
Tue Apr 11, 2006 10:52 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Getting surrogate keys back from a db2 sequence
Replies: 12
Views: 4475

I don't like this design as the sparse lookup is a very expensive overhead on your job. You've got to ask what advantage you are getting from using a DB2 sequence when you have to retrieve it for every row. I think you would be better off generating keys within your job using a parallel counter, re...
by Titto
Tue Apr 11, 2006 3:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Getting surrogate keys back from a db2 sequence
Replies: 12
Views: 4475

There could be other jobs creating new surrogate keys on the same table at the same time. I presume the solution you suggest relies on this being the only job creating the key. Hi HSBCDev, I have same kind of requirement and i need the sequence number to write to a file so that there are other proc...
by Titto
Thu Apr 06, 2006 2:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date Calculation to get the next quarter based on Input Date
Replies: 17
Views: 5970

Hi Ray, For small volume of data, a BASIC Transformer stage could serve here. Use Oconv(Iconv(TheDate, "D"), "DQ") to generate the quarter number (1, 2, 3 or 4). Then take the remainder after dividing the quarter number into the month number, added to the month number. Use the Mo...
by Titto
Thu Apr 06, 2006 9:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Max of a column from Oracle table
Replies: 3
Views: 1080

I got it correct, and working fine

I used following SQL

Code: Select all

SELECT 1 as ID,  nvl(MAX(COL1),0)  AS MAXNBR FROM TABLE1
If are they any other way please let me know!

Thanks,