Search found 147 matches

by shamshad
Wed Oct 15, 2008 2:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: oracle fetch child records
Replies: 4
Views: 2981

If you are allowed to create a temporary table in Oracle, dump the dataset data into a table where the child oracle table resides and then push down the join operation as SQL between both tables, the temp table as outer joined table.
by shamshad
Thu Oct 09, 2008 1:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: improve performance of OCI stage
Replies: 13
Views: 4708

What I have done in the past is seperate out inserts and updates. This is more of a performance tuning issue and how to handle large amount of data in already populated table which should handle insert and updates. First I separate inserts and bulk load them to target and then via another job run th...
by shamshad
Thu Oct 09, 2008 12:51 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: improve performance of OCI stage
Replies: 13
Views: 4708

Sheema,

Are you inserting and updating data in target in 1 job?
by shamshad
Thu Sep 25, 2008 12:18 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Loading parent/child tables in one job
Replies: 9
Views: 4002

If I were in your place, I would always run 2 separate jobs, one for parent and one for child and set dependency of the job that is supposed to run latter on successful completion of the former job.

This way we can mainting data consistency plus have more control on the end to end execution
by shamshad
Thu Sep 25, 2008 12:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading asterisks instead of timestamp
Replies: 8
Views: 2716

I am not sure if I completely understood the question, but have you tried to read the date/time column from source as CHARACTER. Try to see if you get complete value from source by putting the correct format of what you want.

Example: TO_CHAR(MXTR_LASTUP_Y, 'YYYY/MM/DD')
by shamshad
Thu Sep 18, 2008 9:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Calling sql query from unix
Replies: 11
Views: 3898

Also, do you have to absolutely use the Before Sub Routine for this SQL? If all you want is to run a SQL before the actual job, one can also design that as a separate job only for that SQL and then once the job completes successfully, call the actual job (the one after the 'before sub routine). Does...
by shamshad
Thu Sep 18, 2008 9:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Calling sql query from unix
Replies: 11
Views: 3898

It's not surprising if a Microsoft DBA doesn't know the information on UNIX because most of the time they do their DBA activity using GUI interface. OK, coming to the point, there are several ODBC drivers in market that one can install and connect to SQL Server and run queries. PERL is also an optio...
by shamshad
Mon Sep 15, 2008 11:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Automatic conversion of spaces in CFF to Null in oracle
Replies: 3
Views: 1413

Extending to what Aruna said, try to decode the value of the column that is creating issue. See what the SEQ() / CHAR() value is and then make sure they are indeed spaces or low values
by shamshad
Mon Sep 15, 2008 11:01 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Issue with SQL Server Stored Procedure
Replies: 7
Views: 9028

I am assuming the Stored Procedure doesn't take any input parameter. If that is the case then Open the ODBC stage and click on OUTPUT > GENEARAL > STORED PROCEDURE. Select the stored procedure using the imported definition from Manager. First run it successfull and dump data in a txt file or peek it...
by shamshad
Fri Sep 12, 2008 7:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Variable 'handle$list' never assigned a value.
Replies: 4
Views: 5510

Are there any job in that sequencer?

I beleive this error only comes when you have a Terminator activity stage without a Job Activity stage.

Set the option "Abort without sending STOP requests" on the Termination activity stage. You won't get the error any more.

Good Luck
by shamshad
Tue Jun 17, 2008 8:15 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Join to Hash File
Replies: 9
Views: 3604

If you have the ability to create a staging table in your database, create the hash file structure as a table and then use the source and the hashed Table as a SQL. Basically rather than using hash file use the data in the newly created table. This way one can PUSH the SQL to database with much fast...
by shamshad
Tue Jun 17, 2008 8:14 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Join to Hash File
Replies: 9
Views: 3604

If you have the ability to create a staging table in your database, create the hash file structure as a table and then use the source and the hashed Table as a SQL. Basically rather than using hash file use the data in the newly created table. This way one can PUSH the SQL to database with much fast...
by shamshad
Tue Jun 17, 2008 8:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Extract Mainframe File
Replies: 4
Views: 1255

Design 2 step process. (1) Step 1: Download the file as "Binary" as only 1 column for the whole row. For example if everyrow is 800 characters long in total in transformer/ or FT plug in stage define only 1 column like getdate=CHAR(800) rather than defining each and every column individual...
by shamshad
Fri Jun 06, 2008 4:52 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Header and Tralier Problem
Replies: 4
Views: 1254

Expanding on what Chulett mentioned here is what I do in these situations While creating HEADER FILE I add a column called "Join_Column" and in populate the column with value "X". I create the same column in Trailer and populate it with Value 'X'. Then we can join the two feeds u...
by shamshad
Fri Jun 06, 2008 4:43 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Calling SQL Server Stored Procedure
Replies: 6
Views: 2036

Use ODBC Stage as you suggested in your email. Source > ODBC Stage (Server Job) From Source, pull the column name in the same order as mentioned in the INPUT PARAMETER and via a transformer drag all the columns to an ODBC Stage. In one of the TAB in ODBC Stage Use "Server Procedure", impor...