Search found 153 matches

by battaliou
Fri Aug 15, 2008 7:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to get Max(DATE) using transformer
Replies: 16
Views: 15320

You can aggregate your sorted data on the key and choose "last" option for your date. This will function the same as a remove duplicate stage.
by battaliou
Wed Jul 09, 2008 1:15 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unable to open ODBC Trace File
Replies: 1
Views: 1996

Re: Unable to open ODBC Trace File

Quickest way to fix this problem is turn the trace off. You can do this by editing the .odbc.ini setting Trace=0 under [ODBC] category
by battaliou
Fri Jun 27, 2008 5:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: High Availability
Replies: 7
Views: 3396

I dont know why you'd want to install on HACMP, but if you do, the process on v8 is as follows: login to master node which should be pointing to node 1, change the hostname to nodeMaster using smit do a standard install of datastage as per documented instructions and then change hostname back to nod...
by battaliou
Thu Feb 21, 2008 4:41 am
Forum: General
Topic: Dynamic Output File Names
Replies: 8
Views: 3214

Try a type 1 hashed file. Key the hashed file as customer number and call the hashed file EXT/CUST
by battaliou
Tue Jan 29, 2008 11:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parameter Passing in sequence
Replies: 4
Views: 1524

Had the same problem in UNIX and the notify stage which limits DS functionality. Needed to remove the linefeed so command now looks like:

Code: Select all

cat foo.txt|tr '\012' ' '
Note that you have to change LF to something so a space ' ' is ok for 1 line of data.
by battaliou
Wed Nov 07, 2007 4:41 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: SEPDI File Format Import.
Replies: 4
Views: 1933

You can simply use a sequential file stage in combo with a transformer. I'm assuming that this is a CSV file rather than fixed width. Either way you can use your transformer to constrain any rows that begin with the string SEPDI. i.e. DSLink.Type[1,5] <> 'SEPDI'
by battaliou
Tue Oct 02, 2007 2:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: XML ![CDATA question
Replies: 2
Views: 1011

Nice one Craig, in one foul swoop, you've established yourself as the XML guru. I initialised the data element to XML and simply surrounded the output value in the transformer with the necessary strings i.e.

'<![CDATA[' : in.legal_name : ']]>'

Thanks for the reply.
by battaliou
Mon Oct 01, 2007 11:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: XML ![CDATA question
Replies: 2
Views: 1011

XML ![CDATA question

We have a requirement to output XML in character only format as opposed to HTML markup e.g. 1) <legal_name>G&M NV</legal_name> instead of 2) <legal_name>G&M NV</legal_name> Our intention is to use a CDATA marked section to display the text verbatim. So the output looks something like: 3) <le...
by battaliou
Wed Sep 26, 2007 1:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup fileset warning: partitioning other than Entire.....
Replies: 11
Views: 5919

That diagram is excellent. If you look at Chapter 7 of parjdev.pdf, it explains that the lookup file set creates one file for each partition. It follows that if you specify "entire" partitioning that you will get duplication. You must specify the key that the file will be lookup up on. I w...
by battaliou
Tue Sep 25, 2007 10:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup fileset warning: partitioning other than Entire.....
Replies: 11
Views: 5919

Ok, but is your file set partiioned on your lookup key? Also, are you running with RCP?
by battaliou
Thu Aug 09, 2007 4:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2/UDB API Stage Vs DB2/UDB Enterprise
Replies: 5
Views: 3361

I'm very sorry to hear that you've discovered the DB2/UDB Enterprise stage. Please forget about it, it will only cause you trouble. However, if you insist on using it, try to do so sparingly. The DB2/UDB Enterprise stage allows a parrallel partitioned load into your DB2. It is much quicker than your...
by battaliou
Thu Aug 09, 2007 4:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job Control Process (pid=xxx) failed
Replies: 10
Views: 4762

Did you compile your job after importing it?
by battaliou
Thu Aug 09, 2007 4:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Surrogate Key
Replies: 13
Views: 4464

Babylon is nice this time of year.
by battaliou
Thu Jun 07, 2007 11:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Restarting Datastage Services
Replies: 3
Views: 2745

Stopping and starting your datastage services will not necesserally unlock your jobs. This is because the datastage client server connect is persistent. What you need to do at UNIX is: netstat -na|grep 31538 This will tell you which processes are connected to the engine and what state they are in. I...