Search found 15603 matches

by ArndW
Fri Oct 05, 2012 4:21 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential File to Seq File join behaviour...
Replies: 13
Views: 3580

Phil - it is correct; I just wrote a test job to make sure that it is so. The SQL logic of a left outer states that for each left input row there will be an output row, those fields coming from the right side of the join when unmatched are set to <null>. If, in DataStage, this field is not nullable ...
by ArndW
Fri Oct 05, 2012 3:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential File to Seq File join behaviour...
Replies: 13
Views: 3580

If you declare your numeric columns coming from the sequential files as being nullable (even though they aren't), then after your left outer join you will get null values for the joined columns when the join doesn't find a match.
by ArndW
Fri Oct 05, 2012 3:50 am
Forum: General
Topic: Search for Data File on share drive
Replies: 11
Views: 1935

That isn't much in the way of error messages. Try a "reset" of your job and then see if you find an entry in your log file with the text "from previous run..."

How are you calling up this .bat file in the after-job?
by ArndW
Fri Oct 05, 2012 3:45 am
Forum: General
Topic: Issue while running After-job subroutine
Replies: 3
Views: 1407

You determine the return value for "ErrorCode" in your after-job routine. If the return value is nonzero then the job will consider that as an error and then abort.
by ArndW
Fri Oct 05, 2012 3:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Performance Tuning for CDC Stage
Replies: 5
Views: 2922

Is your data being sorted on the CDC Key(s) in the database? In the job (explicitly)? or in the job (implicitly)?. You can turn on $APT_DUMP_SCORE to see if there are inserted sort operators which may be slowing your job down.
by ArndW
Fri Oct 05, 2012 3:37 am
Forum: General
Topic: Troubles replacing server routine - old routine executed
Replies: 5
Views: 959

You've hit upon the reason. Since this is a system routine, it is stored and cataloged as DSX.KEYMGTGETNEXTVALUECONCURRENT and when you compile and catalog from DataStage you will get an entry for DSU.KEYMGTGETNEXTVALUECONCURRENT and for this reason you are still getting the original code at runtime...
by ArndW
Fri Oct 05, 2012 3:27 am
Forum: General
Topic: Search for Data File on share drive
Replies: 11
Views: 1935

While there is usually just one way for a job to run correctly, there are very many ways for it not to run. Without stating what happened and how the job failed (error messages, for example) there is little chance of getting a good answer that goes beyond guesswork.
by ArndW
Thu Oct 04, 2012 12:23 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Promote Tagged Subrec
Replies: 1
Views: 1124

There is a "promote subrecord" in the "Restructure" category.
by ArndW
Thu Oct 04, 2012 10:11 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Inputs to a Link Collector
Replies: 3
Views: 1402

There should be no problem. Are you having issues?
by ArndW
Thu Oct 04, 2012 8:42 am
Forum: General
Topic: Error while executing shell script from After-Job subroutine
Replies: 4
Views: 958

Does the script also work as a 1-liner in the command line?

Can you write the script to accept arguments and pass only the arguments to the after-job routine? That way would certainly work.
by ArndW
Thu Oct 04, 2012 8:39 am
Forum: General
Topic: Troubles replacing server routine - old routine executed
Replies: 5
Views: 959

You need to recompile and catalog the routine, don't worry - the BASIC compiler is present on your production machine.
by ArndW
Thu Oct 04, 2012 8:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Duplicate data in source
Replies: 3
Views: 2640

Generally one must always assume that every step can somehow go wrong.

But if you are doing update-then-insert then you shouldn't be getting rejects due to primary key constraints (but you would get a rejected record if a column that was non-nullable were updated with a null value).
by ArndW
Thu Oct 04, 2012 8:29 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: WriteHash() - Write failed for record id 'CHER'
Replies: 2
Views: 1517

If it is the same file and the same record and the same user then I'd see if the hashed file might be broken at that address. Try a "RESIZE filename * * *" from the DataStage command line when the file isn't being used and see if the error subsequently goes away. If the RESIZE shows proble...
by ArndW
Thu Oct 04, 2012 6:26 am
Forum: General
Topic: Error while executing shell script from After-Job subroutine
Replies: 4
Views: 958

I wonder if escaping might help here:

Code: Select all

diff file1 file2; if \[ $? == 0 \] then echo "Counts in sync" else exit -1 fi 
by ArndW
Thu Oct 04, 2012 5:54 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Extract produces nothing but columns repeated as output
Replies: 7
Views: 2717

In that case MSQUERY will help you quicker.