Search found 153 matches

by battaliou
Wed Jan 18, 2006 6:26 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Making projects "Read only"
Replies: 7
Views: 2150

One way of making your existing jobs read only is by messing with the dsx export file. In notepad you can do a global replace on ReadOnly "0" to be ReadOnly "1" and re import the file. This method is of course not sanctioned by the vendors and I doubt if they would give you any s...
by battaliou
Fri Nov 04, 2005 9:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: surrogate ID generation in DS EE
Replies: 18
Views: 9051

Yes, we are running 4 way.
by battaliou
Thu Nov 03, 2005 6:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: surrogate ID generation in DS EE
Replies: 18
Views: 9051

Got a solution to our NEXTVAL lookup problem. It requires two DB2 enterprise edition sparse lookups with identical sql i.e. SELECT IBMREQD, NEXTVAL FOR DM01.CDM_ARR_ID AS NEXTVAL FROM sysibm.sysdummy1 WHERE (IBMREQD = ORCHESTRATE.IBMREQD) The column IBMREQD is alternately set to 'Y' and 'N', and the...
by battaliou
Wed Oct 12, 2005 9:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: surrogate ID generation in DS EE
Replies: 18
Views: 9051

The reason we had to hand code a NEXTVAL in EE for use against DB2 was that DB2 just gave us 1 single value for nextval, i.e. it didn't sequentially generate itself as expected. e.g I expect a sequence of values 1,2,3 but got 1,1,1
by battaliou
Wed Oct 05, 2005 10:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: surrogate ID generation in DS EE
Replies: 18
Views: 9051

DB2 nextval

We faced a similar issue with NEXTVAL from DB2 in EE. My workaround was to have a text file called NEXTFILE and write some basic to READSEQ the value and pass it down to the job as a parameter. The job itself now has an aggregator which outputs the max value of StageVar NEXTVAL which is simply a cou...
by battaliou
Wed Oct 05, 2005 10:28 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Accessing .xls or .mdb files in a Unix directory
Replies: 18
Views: 9581

use a macro

I had a requirement to load data from a spreadsheet into unix. I wrote a macro to select the area I wanted out of the spreadsheet and saved it as a csv. This was then ftp'd to unix. Easy.
by battaliou
Wed Sep 07, 2005 5:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem in Running Shell Script Though DataStage
Replies: 5
Views: 2481

Re: Problem in Running Shell Script Though DataStage

Have you specified which korn shell you're using at the start of your script? I had to set mine to:
#!/usr/bin/ksh
by battaliou
Wed Sep 07, 2005 5:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: regarding Date conversion
Replies: 17
Views: 8034

Re: regarding Date conversion

Usually you gets *'s when the date is null or in the wrong format. I hope you are using varchar(11) rather than char as this will introduce a null filler into your data unless you've set $APT_STRING_PADCHAR= space

Post an example of the date you're trying to convert if you want any more help.
by battaliou
Wed Sep 07, 2005 5:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to abort a job?
Replies: 11
Views: 3978

Re: How to abort a job?

You could always divide by 0 if you want a quick failure.
by battaliou
Wed Jun 08, 2005 9:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Modify Stage
Replies: 9
Views: 5485

handle_null seems to be the way forward here, but in the PX developer pdf, they have a NullToValue example under the modify stage. Surely this function should be available? I'm happy with the work around.
by battaliou
Wed Jun 08, 2005 9:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Need some help in Migration of Jobs
Replies: 13
Views: 6026

If you're brave enough, you can write a basic routine to automatically update your DSX export file, so every DB2 plugin is changed to an Oracle one. I did this recently upgrading an oracle 8 to 9 system.

Best take a backup first...
by battaliou
Thu May 12, 2005 9:15 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Urgent: Project has been corrupted
Replies: 19
Views: 4831

Arnd - Ja, you're right, its been a long time since I've seen blink and flink errors. What do you think about creating a new project and abandoning this one?
by battaliou
Thu May 12, 2005 8:54 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Urgent: Project has been corrupted
Replies: 19
Views: 4831

backups

Bad forward link found
This is an overflow error probably caused by a bad sector on your disk. I'm doubtfull if you can recover from this.

If you have a recent export, I'd consider abandoning this project & creating a new one. Looks like your hard drive is about to fail some time soon.
by battaliou
Thu May 05, 2005 8:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: grouping data with DS
Replies: 4
Views: 1237

Re: grouping data with DS

Stage variables are useful here to concact data together. You can set stagevar2 as your source ID and stagevar1 as stagevar2 and compare the differences (stagevar1 created before stagevar2) I'd send the data to an aggregator and with the 'last' option selected rather than landing to a hash file, thi...
by battaliou
Wed Apr 27, 2005 4:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Plz Tell me more about MQ series
Replies: 4
Views: 2581

We recently used MQ messages as a scheduling option, i.e. the Oracle backup placed a message on the queue to say it had completed. This allowed as to create jobs with a non destructive read, allowing us to wait for the message to appear. Two or more sequences could then be run in a "wait state&...