Search found 15603 matches

by ArndW
Mon Aug 16, 2010 3:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Server routine compile error in Version 8
Replies: 7
Views: 1943

By conditional compile I mean the code between the $IFDEF and $ENDIF as well as the $UNDEFINE TESTING line. It shouldn't make a difference, but will make the test routine smaller. Did Ray's suggestion of cut-and-paste to a new routine make a difference?
by ArndW
Mon Aug 16, 2010 3:36 am
Forum: General
Topic: Server Routine output in Job sequence
Replies: 7
Views: 2519

Perhaps you are not passing the correct "JobName" to the routine. Add

Code: Select all

CALL DSLogWarn('Routine parameter JobName is "':JobName:'", JobHandle is "':JobHandle:'"','')
after your DSAttachJob() call to try to debug what is happening.
by ArndW
Mon Aug 16, 2010 3:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: User defined SQL in DB2 Enterprise stage reduce performance?
Replies: 10
Views: 2440

That was good work and means that what I wrote earlier in this thread was incorrect, that there is indeed a difference! This means that when the SQL is generated DataStage makes use of the innate parallelism in DB2 to optimize the query and data transport to DataStage, whereas user-defined queries e...
by ArndW
Mon Aug 16, 2010 2:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Bug in Surrogate Key Generator Stage
Replies: 1
Views: 939

Ankar, since you have marked this as an "urgent" issue you should go to your support provider as the general reaction from the volunteers here to such demands is to ignore the post for a while, which I will do. Also add some details to your problem description since what you posted isn't s...
by ArndW
Mon Aug 16, 2010 2:11 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Passing parameter to Oconv function
Replies: 7
Views: 4363

How do you compute the new end_date that is to be written back to the table and how does OCONV() come into play?
by ArndW
Mon Aug 16, 2010 2:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformer of 8.x
Replies: 3
Views: 1079

The transform stage was optimized and at Version 7.x was very efficient.
by ArndW
Mon Aug 16, 2010 2:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: User defined SQL in DB2 Enterprise stage reduce performance?
Replies: 10
Views: 2440

There should be no difference if the two statements are identical. Since you do have performance differences I would guess that your user-defined code does something more. Do you select columns in your user-defined SQL that are not used in the flow?
by ArndW
Fri Aug 13, 2010 8:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Iconv oconv
Replies: 10
Views: 5428

Most likely you have an invalid date somewhere.

Try

Code: Select all

OCONV(ICONV(In_MTRANS_DT,'D4-ymd'),'D4-mdy[2,2,4]')
by ArndW
Fri Aug 13, 2010 8:13 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Server routine compile error in Version 8
Replies: 7
Views: 1943

There is something more involved here, since I cut-and-pasted your code to my machine and it compiled without warnings or errors.

If you delete your includes and conditional compile code does the error persist?
by ArndW
Fri Aug 13, 2010 5:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to remove control M or special character by ds jobs
Replies: 8
Views: 11732

Yes, there are various ways and which method is used depends upon how you read the files. Are the Control-M characters in strings in the job? If yes, then a simple Convert(Char(13),'',In.ColumnName) will do the trick.
by ArndW
Fri Aug 13, 2010 4:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error setting up internal communications
Replies: 6
Views: 7446

Since we don't know the cause of the problem we can't give a solution to ensure that it doesn't happen again.
by ArndW
Fri Aug 13, 2010 2:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error setting up internal communications
Replies: 6
Views: 7446

Have you made sure that there are no left-over processes which might still be attached to the FIFO file. The easiest guaranteed solution is to bounce the server, if that is possible. Otherwise check to see if you have any processes left running when nothing is happening on the machine. Alternately, ...
by ArndW
Fri Aug 13, 2010 1:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Population of DS_ROUTINES
Replies: 2
Views: 1794

If it is a BASIC routine then it will be referred to in the DS_ROUTINES at any version of DataStage. Try a "LIST DS_ROUTINES" to see what the contents are.
by ArndW
Thu Aug 12, 2010 7:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading the data from DB ( 2 file systems)
Replies: 4
Views: 1947

The general approach is correct. How are you parsing the return string?