Search found 376 matches

by jerome_rajan
Fri Sep 27, 2013 2:10 am
Forum: Site/Forum
Topic: Please block the user rydqddzem
Replies: 10
Views: 11358

Aaaannnnd....It's back again quickly replacing the topics of importance on the front page!
by jerome_rajan
Tue Aug 27, 2013 1:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Loading a Word Document
Replies: 1
Views: 1000

Loading a Word Document

Hi, I just got this unusual requirement from our client to upload a Microsoft Word file into a DB2 Database as an object using DataStage. I'm not sure where to start. I'm not even sure if I should be accepting a requirement such as this. What should be the datatype of the DB2 column storing this obj...
by jerome_rajan
Thu Aug 22, 2013 3:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Filter ranges of records in a file based on search strings
Replies: 1
Views: 755

Filter ranges of records in a file based on search strings

Dear All, We have a file that serves as kind of a master and holds data that should go into two different target tables with completely different metadata. Our source file looks something like <Line1> a,b,c,d g,h,i,j <line2> 1,2 3,4 5,6 <line3> garbage <line1> f,g,h,k <line2> 1,2 7,9 <line3> garbage...
by jerome_rajan
Wed Aug 07, 2013 4:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Creating date ranges
Replies: 5
Views: 4437

Use 2 stage variables.

Code: Select all

svStart = svEnd
svEnd = lnkSrc.Date (initialize to 0001-01-01)
Assuming that your output columns are as below

Code: Select all

Constraint --> svStart<>0001-01-01

StartDate --> svStart
EndDate -->DateOffsetByComponents(svEnd,0,0,-1)
Hopefully, this should work.
by jerome_rajan
Wed Aug 07, 2013 2:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: removal of warning "cannot preserve partitioning"
Replies: 3
Views: 1208

No. It will not affect the performance in any way. What you encountered was just a warning telling you that no matter what 'YOU' want, the stage will partition data the way 'IT' wants. Clearing the "preserve partitioning' flag will serve only as far as eliminating the warning.
by jerome_rajan
Thu Aug 01, 2013 12:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Target Table Name in Source Column
Replies: 3
Views: 1405

Thanks Ray.

We're looking for a dynamic solution. I lost you at
...a sequence to read the table name from each file and set a job parameter containing the table name...
Can you please elaborate?
I'd be very interested to know how the XML Stage can help since that would mean a purely parallel job.
by jerome_rajan
Wed Jul 31, 2013 11:22 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Target Table Name in Source Column
Replies: 3
Views: 1405

Target Table Name in Source Column

We are faced with a slightly tricky situation here. We have source data coming in a single table. This table say 'SOURCE' has a column called 'TGT_TBL_NM' that defines the name of the target table that the corresponding row is inserted into. A sample of our source looks like col1 col2 col3 TGT_TBL_N...
by jerome_rajan
Sat Jul 27, 2013 11:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: State File Demystified
Replies: 2
Views: 1860

Great! :D Going to try it first thing when I reach office. Thanks for sharing.
by jerome_rajan
Sat Jul 27, 2013 11:43 am
Forum: General
Topic: How to replace one string to another string by using unix
Replies: 2
Views: 1511

1. Using vi editor
A. :s/search_string/replacement_string/g

2. Without using vi editor.
A. sed s/search_string/replacement_string/g <filename>
by jerome_rajan
Thu Jul 25, 2013 10:24 am
Forum: General
Topic: How to add dots between initials?
Replies: 3
Views: 2536

How do you differentiate between what forms the initials and what forms the first name? Or are the 'Initials' stored in a separate column?
by jerome_rajan
Tue Jul 23, 2013 5:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: APT_STRING_PADCHAR override at job level not working
Replies: 9
Views: 6755

Are you adding the APT_STRING_PADCHAR variable in one job (say your transform job) and loading using a different job?
by jerome_rajan
Thu Jul 18, 2013 4:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: What does 'output row only once' will do in filter
Replies: 15
Views: 7962

Is this a bit like the 'Otherwise' functionality in the PX Transformer?
by jerome_rajan
Mon Jul 15, 2013 5:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to Convert Dates
Replies: 5
Views: 3999

I think OCONV requires the argument in the internal format as generated by ICONV.
by jerome_rajan
Wed Jul 10, 2013 5:32 am
Forum: General
Topic: Importing and Exporting Datastage Jobs
Replies: 7
Views: 6111

You can edit the .dsx file created after the export. Look for a property called "Category' and edit the path. The edit process should be evident once you see the property yourself. I haven't tried it out myself. May be you can tell me?
by jerome_rajan
Mon Jul 08, 2013 2:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Keywords for Node Pools in Configuration File
Replies: 1
Views: 1201

db2, oracle, sas, informix are some of the keywords that can be used to create pools besides "sort".