Search found 71 matches

by tkbharani
Fri Aug 29, 2008 3:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Processing Large Amounts of data
Replies: 4
Views: 3121

This is one of suggestion. As you get daily data, you must process it daily to complete it fast. You can process the 10 million data, aggregate it daily and do summarized operations. At the end of the month you can again do a summary or rollup of all the daily summarized data. At this time you will ...
by tkbharani
Wed Aug 27, 2008 10:12 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Creating an Error table
Replies: 4
Views: 1923

It depends on the way you are going to use it again. Mostly error tables are checked rarely. You are inserting with error number,error code. So why seperate table, store it in single table.

Bury all errors in single table. :wink:
by tkbharani
Wed Aug 27, 2008 10:02 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reading Fixed width file
Replies: 2
Views: 1490

Its because you need to FTP files from DOS to UNIX only in ASCII format , so that host transfers data consistently. If you have already transfered then use "dos2unix" command for converting DOS files to UNIX files. Also while reading Fixed width make sure you are assigning exact column siz...
by tkbharani
Wed Aug 27, 2008 1:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to call the Sql statement in before sub rouitne
Replies: 4
Views: 1914

As you can't directly call a sql statement in before job subroutine. You can write a small unix script to do that and call the unix script through Execute SH command.

Else write a small procedure and call the same by ODBC stage before calling the actual stage
by tkbharani
Tue Aug 26, 2008 11:48 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Purpose of creating Config file
Replies: 3
Views: 1490

I think you requirement is to create a customized Config file for a particular job. You have specified you job type as server. In server you dont have the concept of Configration files. If its parallel you can create as may config files you need. Just copy you original config file and backup it. The...
by tkbharani
Tue Aug 26, 2008 11:40 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Confusion on DS 7.5x2?
Replies: 4
Views: 1794

Yes. If my understanding is right. You need licence for only either Server or Parallel. If dont want parallel jobs , then you can get only server job working from IBM. In our last project we got only server working.Though you can see parallel options, they will be disabled.

Is that you need?
by tkbharani
Tue Aug 26, 2008 11:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Droping Oracle Table
Replies: 13
Views: 5579

Did you try using Double quotes. Else pass it in a variable and then use it by calling it.
by tkbharani
Tue Aug 26, 2008 11:27 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job finishes but the status becomes aborted
Replies: 6
Views: 3431

I have also faced this problem.
Check if the file count is matching the number of inserted records.

A.May be it, contains some header or footer.
B. Check if your job is no overwriting the error count setting.

Check if any after job soubroutine is being called in the job, which is making it to fail.
by tkbharani
Tue Aug 26, 2008 11:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parallel job for loading an oracle table..suggestions needed
Replies: 4
Views: 2029

I dont think you will save any time by converting the sqlldr to OCI stage. Because the time spent in moving the data to Flat file to Dataset must also taken in to count. so some the options are 1. Increase your parallelism to 4 then you can see some change. We dont your server config . so try by inc...
by tkbharani
Tue Aug 26, 2008 11:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Passing Parameter value with double quotes
Replies: 8
Views: 3933

Did you try executing the same from any of the Oracle Client. If it is working then try the same in Datastage. Try to pass the value of the parameter as including double quotes.

But this is not the standard table naming convention.
by tkbharani
Tue Aug 26, 2008 1:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to call unix script in a after job subroutine
Replies: 1
Views: 881

Use ExecuteSh

For example you have a script as Check_File.sh then you can call it as follows. 1. Select ExecuteSh in AfterJobSubroutine and enter the following <Script_Path>/<Script_Name>.sh #Parameter1# #parameter2# The parameter should be declared in parameter list in job. Example: /u10/files/script/Check_File....
by tkbharani
Mon Aug 25, 2008 11:56 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: double quotes
Replies: 4
Views: 1769

Please do not post the same question in different forums. Please delete it.
by tkbharani
Mon Aug 25, 2008 11:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: double quotes
Replies: 8
Views: 2071

You must redirect the file output incase you opt to use sed or awk. Rather try to use perl command to find & replace in the same file without redirecting. Incase if the file is large, perl -pi will be much faster than sed. For example try perl -pi -e 's/<old text>/<new text>/g;' Other Option As ...
by tkbharani
Mon Aug 25, 2008 11:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Timestamp
Replies: 4
Views: 1553

Try if (InputColumn) = '' then 01/01/1800 From your post it is clear that your input is timestamp or blank value, but what is your input datatype , is it Timestamp or string. what is your output datatype Date or Timestamp. Accordingly you can convert it to TimeStampToDate or DateToTimeStamp. But Why...
by tkbharani
Mon Aug 25, 2008 1:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Conversion warning
Replies: 2
Views: 1937

Mostly this type of errors occur when you try to convert from one datatype to other(INT to DECIMAL or FLOAT) . Check if conversion is from same datatype to datatype.
Check if incoming data is correct value for the datatype.
Check for size and precision.