Search found 153 matches

by battaliou
Tue May 18, 2010 4:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to wait until all the data on a link is processed?
Replies: 11
Views: 4373

Use 2 jobs. Alternatively create an "After job function". If you dont want to use 2 jobs, you'll have to sort/aggregate your data on the trailer link - not necessary.
by battaliou
Fri May 14, 2010 6:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to perform self join
Replies: 10
Views: 4303

You're probably better off landing your data into a dataset, and depending on volumes using a lookup or joining the data in a second job. Of course if you insist on using only 1 input stream, you could copy this into 2 sorts based on the join keys and merge your data together. This will have rubbish...
by battaliou
Fri May 14, 2010 6:06 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Convert Negative number in round braces ()
Replies: 3
Views: 2015

if index(StageVar,'-',1) > 0 then '(' :Convert(StageVar,'()','') :')' else StageVar
by battaliou
Mon May 03, 2010 8:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Regarding Reading of .txt File
Replies: 3
Views: 1397

We used x1E and x1F (char 30 and 31) as "end of line" and "field" separators. Just watch out for these characters in password fields etc.
by battaliou
Thu Apr 29, 2010 6:56 am
Forum: General
Topic: Job not showing in Designer !!!!
Replies: 11
Views: 6880

Hello Craig, I dont think I got that. Did you say get official vendor support for post version 8 datastage?
by battaliou
Thu Apr 29, 2010 2:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parallel routine dropping records
Replies: 1
Views: 1303

Welcome to hell. Null handling in parallel jobs should always be done up front. In fact this is one of the foundations of my philosophy when designing a system. Basic rules are: "No nulls", everything converted to varchar or decimal 32,10. Once you've processed your data and you're ready t...
by battaliou
Thu Apr 29, 2010 2:14 am
Forum: General
Topic: Job not showing in Designer !!!!
Replies: 11
Views: 6880

If you have a full project backup, you may want to consider abandoning this project and creating a new one. I realise this sounds like a lot of work, but if this problem reappears you probably dont need the stress.
by battaliou
Thu Apr 29, 2010 2:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: issue when reading source file in 7.5x2
Replies: 12
Views: 3752

Try the index function

If index(TO_XFM_JOB_NM.Field002,"EXT_FILE_DELIMETER",1) > 0 Then jobname Else TO_XFM_JOB_NM.Field002
by battaliou
Wed Apr 14, 2010 8:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to update existing rows in DB2
Replies: 5
Views: 2343

did it give you the same message with truncated dates? If so, try peeking the data too.
by battaliou
Wed Apr 14, 2010 8:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: field delimiter in CFF stage
Replies: 1
Views: 1232

This is not the normal way to deal with complex flat files. Usually you need to specify their structure (typically using a COBOL copybook import). Once you've extracted this data, you can use a transformer to sub field stuff if you need to.
by battaliou
Wed Apr 14, 2010 7:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to update existing rows in DB2
Replies: 5
Views: 2343

Try changing your target metadata setting to varchar size 10 even though its a date
by battaliou
Wed Apr 14, 2010 6:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to insert the datastage Log-warnings into the oracle tab
Replies: 4
Views: 2523

Ok, to save you some hastle here is some code wrongly ascribed as DSGetLogInfo

Code: Select all

event_max_li = DSGetNewestLogId ( DSJ.ME , DSJ.LOGANY) - 1
event_max_le = DSGetLogEntry(DSJ.ME,event_max_li)
call DSLogInfo(event_max_le,event_max_li)
by battaliou
Tue Apr 13, 2010 9:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Disk Space getting filled
Replies: 7
Views: 8440

Ok, looks like you got a serious problem here. My first instinct is that your "server side tracing" is on. Check it and turn it off using the datastage administrator app. Also check if any of your load jobs are generating warnings, this fills up log space quickly. You will need to tune you...
by battaliou
Thu Mar 18, 2010 2:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: RCP
Replies: 6
Views: 2179

Yes, but whats the point of RCP if you have to define your meta data?