Search found 4992 matches

by kcbland
Mon Feb 27, 2006 12:43 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Select First Record only
Replies: 12
Views: 3357

Change your date to ISO format YYYY-MM-DD, pass thru a Sort stage and sort descending on site, date, then write to hash file. Last row into hash file with just site as key will be the oldest date for that site.
by kcbland
Sun Feb 26, 2006 9:02 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Clear Status File
Replies: 6
Views: 1005

Recompiling the base job removes all instances, so the status files would thus be removed with the instance. It's also very fast.
by kcbland
Fri Feb 24, 2006 12:37 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading only the 1st rec from a secqential file in ver 7.0
Replies: 2
Views: 918

By "read" you mean one read operation than stop, as opposed to using a constraint to only allow the first row to pass the first transformer? There's nothing outside of a filter using the "head -n1 yourfile" statement.
by kcbland
Fri Feb 24, 2006 12:35 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DataStage Training
Replies: 2
Views: 557

Did you happen to look at this sites home page and see the training being offered? :shock:
by kcbland
Thu Feb 23, 2006 10:16 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: REG : PIC Basic
Replies: 3
Views: 836

In the Start menu under the Ascential folder is the entire DS BASIC manual.
by kcbland
Thu Feb 23, 2006 11:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: search source file for a particular value
Replies: 3
Views: 1106

Script based, using cut, grep, and wc can accomplish what you need. Using DataStage you could just check the columns as you process and write out rows that qualify for loading, and that don't send to an exceptions file. You could check the exceptions file when finished and based on finding rows elec...
by kcbland
Thu Feb 23, 2006 11:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DSJobStartTimestamp value not updating
Replies: 3
Views: 4129

From the DSINCLUDE file in your project, the JobControl.h record: LIST.ITEM DSINCLUDE 11:06:25am 23 Feb 2006 PAGE 28 353 $IfNDef DSJobStartTimestamp 354 $Define DSJobStartTimestamp DSGetJobInfo(DSJ.ME, DSJ.JOBSTARTTIMESTAMP) The macro is a call to the DSGetJobInfo function from within the jo...
by kcbland
Thu Feb 23, 2006 10:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Selecting Records in between Two Dates.
Replies: 2
Views: 584

What's not working? Are you getting more or less rows than expected? What's your issue? You do realize that a lexicographic comparison works left to right, so that your format of MM/DD/YYYY doesn't work? Try using YYYY-MM-DD and you might be surprised. Better yet, use to_date on your "01/01/2004" in...
by kcbland
Thu Feb 23, 2006 9:29 am
Forum: DSXchange Testimonials
Topic: Hello - nice to see all the help
Replies: 1
Views: 9534

Welcome aboard!
by kcbland
Wed Feb 22, 2006 2:18 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Find out which User has run the job
Replies: 6
Views: 957

chulett wrote:Actually, you can double-click on any log message. The Event Detail dialogue box that pops up has an area for User - as in the user that logged the message, i.e. ran the job. :wink:


Double brilliant! :D I didn't look up, just down at the text messages. :oops:
by kcbland
Wed Feb 22, 2006 1:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Find out which User has run the job
Replies: 6
Views: 957

kris007 wrote:If you double click the event detail for Environment variable settings in your job log in the director you should be able to see the username. If thats what you are looking for?? :?:


-Kris


Brilliant!!! :D
by kcbland
Wed Feb 22, 2006 12:51 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Find out which User has run the job
Replies: 6
Views: 957

None supported that I know. The userid is not tracked in the log files, nor is it available by double-clicking the job in Director.
by kcbland
Wed Feb 22, 2006 12:49 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error:Failed to open a file
Replies: 8
Views: 1333

Spelling, permissions, it's got to be one of those.
by kcbland
Wed Feb 22, 2006 10:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle OCI Load (Automatic Mode) Error
Replies: 31
Views: 9237

I'm having a head scratching moment because we've had to code around this "limitation" under 8i and 9i databases. I searched the 9i manuals to see where this was discussed, so I'd be very surprised to learn a lot of different folks at different customer sites all had the same mistake. I'd love to be...
by kcbland
Tue Feb 21, 2006 7:51 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle OCI Load (Automatic Mode) Error
Replies: 31
Views: 9237

Oracle 9 or 10? From your post you're using 10, but I'm sure 8 and 9 have this restriction. I somewhat stand corrected.