Search found 42189 matches

by chulett
Tue Mar 20, 2007 10:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Check for existence of a file
Replies: 7
Views: 1680

Iam kind of getting that , correct me if iam wrong here , if i use wait for file activity i can look for appearance of the file and timeout after a certain time .that way will be a way to distinguish if the file exists or not right ? ... Is that possible to add logic for branching in that case ? or...
by chulett
Tue Mar 20, 2007 10:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Check for existence of a file
Replies: 7
Views: 1680

Sreedhar - just leverage the 'test' capabilities your shell. For example, for korn: if [[ -d ${DSHOME} && -w ${DSHOME} && -x ${DSHOME} ]] ;then Meaning: Is the $DSHOME 'file' a directory that is writable and executable by the current user? Do a 'man' on ...
by chulett
Tue Mar 20, 2007 9:02 am
Forum: Site/Forum
Topic: Time to add 8.x as a selectable version when posting!
Replies: 2
Views: 2341

Time to add 8.x as a selectable version when posting!

Now that it's available and all... :wink:
by chulett
Tue Mar 20, 2007 7:50 am
Forum: General
Topic: Merging Records
Replies: 30
Views: 8622

Something like this? Can we get an 'exactly like this' sample?
by chulett
Tue Mar 20, 2007 7:26 am
Forum: General
Topic: Merging Records
Replies: 30
Views: 8622

I am unable to use the merge stage as it requires a key to be defined for joining , which is not present in my case . I require the SQL select A from B and C from D to generate the output file. This doesn't help at all to explain your requirements. At a high level, let's say your two files have rec...
by chulett
Tue Mar 20, 2007 7:21 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Possibility of partial reading of flat file
Replies: 4
Views: 834

Actually, no you can't. Not technically. That's the nature of sequential media. You'll need to read the entire contents of the file each time. However, each instance can choose to process a distinct portion of the file in parallel. Or you can chunk up the original file and then process the chunks in...
by chulett
Tue Mar 20, 2007 7:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: OCONV Decimal conversion
Replies: 9
Views: 3673

Part of the problem is that being an unbounded Number in Oracle it can hold a wide range of values. Yes, it certainly can. Some rows have 32 digits after the decimal point whilst the biggest number in the table has 8 digits. Therefore if I specify as Decimal(38,32) I end up dropping the values that...
by chulett
Tue Mar 20, 2007 7:05 am
Forum: General
Topic: Merging Records
Replies: 30
Views: 8622

Use the UNIX command cat file1 file2 > file3 You don't need DataStage for this one. Basically the requirement is cartesian join between two files. Make sure this is really what you want before you go further down the path - a cartesion join. Reread Ray's explaination of the difference as it is tota...
by chulett
Tue Mar 20, 2007 6:54 am
Forum: General
Topic: UNIX Forums
Replies: 8
Views: 2295

No, don't know of any. I find a good reference book and the occassional Google get me by... that and the help of any local uber-scripters.

And as long as you don't get all crazy on us, we'll help here too. :wink:
by chulett
Tue Mar 20, 2007 6:50 am
Forum: General
Topic: Dynamism in DataStage
Replies: 13
Views: 4537

Invoking a Wizard is generally considered risky... best not to anger them with unreasonable demands. Even if you do get this 'some help' I don't see how it's really going to help. The functionality you seek isn't available if you are expecting to be able to handle this kind of information 'on the fl...
by chulett
Tue Mar 20, 2007 6:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: OCONV Decimal conversion
Replies: 9
Views: 3673

Change the metadata to what it should be. As noted, Decimal(38,10) is the default for a unbounded Oracle NUMBER - correct it. Should fix the OCI error part of your issue.
by chulett
Tue Mar 20, 2007 6:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Using dsjob -run -param to pass parameters
Replies: 13
Views: 13082

kduke wrote:You are welcome Craig.

Umm... thanks! :lol:
by chulett
Tue Mar 20, 2007 6:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle Bulkload
Replies: 10
Views: 2967

Re: Problem also exists by 'invalid number'

Anyone any suggestion? As noted earlier, contact your Support provider. See what they have to say about the issue. Since it's not using true 'command line' sqlldr in Automatic mode but rather a direct hook into the database via the API I am still under the impression that it should be able to handl...
by chulett
Mon Mar 19, 2007 3:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequence - Trigger - OK/Warning
Replies: 12
Views: 11940

sudharma wrote:DSJS.RUNOK OR DSJS.RUNWARN

No. If you think that is working for you - it's not. That "expression" evaluates to TRUE 100% of the time.

You absolutely need to provide an expression - like "X = Y" - in order for it to resolve properly.
by chulett
Mon Mar 19, 2007 2:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: writing Positive decimal with + sign
Replies: 13
Views: 3629

Re: writing Positive decimal with + sign

dsedi wrote:Is there a way to accomplish this with some options without actually appending the + sign?

So far, it looks like the answer is 'no'. :wink: