Search found 89 matches

by kcshankar
Wed Jan 04, 2006 3:42 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hash files and lookups
Replies: 17
Views: 9934

Hi, Welcome aboard. Search the forum ,for your queries. Sample from the forum..... A hash file can simply be described as a file that distributes data throughout a pre-sized and space allocated file. Every row has to have a key to determine where the row will reside within the file. This key is run ...
by kcshankar
Wed Jan 04, 2006 12:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: decimals
Replies: 3
Views: 1542

Hi Rafi,
To add one more to ray's soln
FMT("flat file amt column/100", "L2").



Regards
kcs
by kcshankar
Tue Jan 03, 2006 6:42 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Conversion of Date format in Datastage?
Replies: 2
Views: 2224

Hi Kris,
Here is an example of builtin Transform function which converts the given Timestamp format (YYYY-MM-DD HH:MM:SS) to Internal Time format.

Example: TIMESTAMP.TO.TIME('2006-01-03 16:39:59') => "59999"



regards
kcs
by kcshankar
Tue Jan 03, 2006 12:29 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: User defined SQL-required link property
Replies: 5
Views: 2334

Hi Guys, Thanks for ur replies. The Before SQL and AfterSQL tabs as well work with DML not DDL. User-defined SQL must be DML, not DDL. DDL is handled by other means (depending on what stage type you are using). I replaced ODBC stage for OCI stage, And sql statements like Create Table xxxx as(Select ...
by kcshankar
Mon Jan 02, 2006 4:02 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: clean database
Replies: 3
Views: 1566

Hi,
Clear Table then insert rows options will be slower because of transaction logging.Try Truncate table then insert rows options.


regards
kcs
by kcshankar
Thu Dec 29, 2005 7:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: User defined SQL-required link property
Replies: 5
Views: 2334

User defined SQL-required link property

Hi, I searched the forum under the topic user defined sql but i didn't get any solution to my query. My job looks like Oracle ------Transformer------Oracle Source table has 4 columns and Target table has 3 columns. Iam using user defined sql to Create Target Table and Load Data to that. CREATE TABLE...
by kcshankar
Wed Dec 28, 2005 1:56 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: comma delimeted files
Replies: 3
Views: 1243

Hi, Is your source file have similar pattern,ie delimiter variation is only in the second/string field. 001,ravi,kumar,98 002,ramkumar,34 Assuming u want output to be like this below, 001,ravikumar,98 002,ramkumar,34 Define ur source file with 000 delimiter -single Column. Declare StageVariable to h...
by kcshankar
Wed Dec 28, 2005 12:55 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Ignoring Duplicates while reading from Seq File
Replies: 13
Views: 8544

Hi Chowdary,

Before using RowProcCompareWithPreviousValue sort your data.


regards
kcs
by kcshankar
Tue Dec 27, 2005 11:46 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Ignoring Duplicates while reading from Seq File
Replies: 13
Views: 8544

Hi Chowdary, You can also use Transform function RowProcCompareWithPreviousValue to ignore duplicate values. The routine will check the supplied value with the previous value. If its same, then 1 is returned else 0 is returned. In the Transformer Stage,declare stage variable as RowProcCompareWithPre...
by kcshankar
Fri Dec 23, 2005 1:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: What is DSUBINARY in a DSX export?
Replies: 3
Views: 2454

Hi ArndW,
Thanks for ur reply :D .


regards
kcs
by kcshankar
Thu Dec 22, 2005 2:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: No reason for Abort
Replies: 4
Views: 1428

hi Sumeet,
can u pls explain what u r trying to do?
what did u see in ur log?

regards
kcs
by kcshankar
Wed Dec 21, 2005 6:17 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to remove double quotes ( " )
Replies: 9
Views: 14416

Hi suresh,


Use double quote within single quote(' ')
Ereplace(source.Field001,'"','')


regards
kcs
by kcshankar
Wed Dec 21, 2005 12:05 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to remove double quotes ( " )
Replies: 9
Views: 14416

Hi suresh,
If u want to remove double quote in the Transformer and pass the data,use Ereplace function in the Transformer.

Ereplace (string, substring, replacement [ ,number [ ,begin] ] )


Regards
kcs
by kcshankar
Tue Dec 20, 2005 12:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job is been accessed by another user
Replies: 9
Views: 3678

Hi,
To know whats happening....
View the job status of "Testjob" in the DataStage Director.


regards
kcs
by kcshankar
Tue Dec 20, 2005 12:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reject Records
Replies: 7
Views: 2873

Hi Anto,

Give the constraint (DSLink4.No <= "105") for clean Data
and use reject row option for the other.


regards
kcs