Search found 91 matches

by suse_dk
Mon Nov 07, 2011 3:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Convert number of days to date
Replies: 4
Views: 2670

A wise man gave the answer in this post...

viewtopic.php?t=142845
by suse_dk
Mon Nov 07, 2011 3:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Finding Similar records & assigning Groups
Replies: 24
Views: 13128

I guess it could be called a partitioning problem... remember that is you are running your job in on multiple nodes then you'll basically be performing the same calculation on each node... that is starting from 1 and adding one each time you'll encounter a new key. So, you'll need to include the par...
by suse_dk
Fri Nov 04, 2011 7:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: What is substr equivalent for transformer
Replies: 3
Views: 1864

You need to do is define the start point and length in bracket after the source column and map it to your target column, for instance...

YourColumnName[1,4] mapped to year
YourColumnName[5,2] mapped to ...
YourColumnName[7,1]
YourColumnName[9,3]
YourColumnName[13,3]
YourColumnName[16,2]
by suse_dk
Fri Nov 04, 2011 7:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need help for job implementation
Replies: 1
Views: 925

Oracle source stage (SELECT xxx,yyy,zzz FROM ABC WHERE STAT='DONE' AND FLAG=0 AND TRUNC((sysDate-STRTDATE) / 365) >= 2) Lookup with reject link (on keys xxx,yyy,zzz) Oracle reference stage (SELECT xxx,yyy,zzz FROM DEF WHERE LEVEL <> 1) The MINUS result dataset would then be the output on the reject...
by suse_dk
Tue Nov 01, 2011 5:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date format change
Replies: 9
Views: 2605

The year format for your input is not equal to the format %yyyy
by suse_dk
Fri Oct 28, 2011 5:19 am
Forum: General
Topic: Resetting a hierarchy of seqences
Replies: 5
Views: 1753

Can't you problem be solved by setting the execution action to "Reset if required, then run" for all sub sequencers? Then it should only be necessary for support to reset the top sequencer...
by suse_dk
Fri Oct 28, 2011 4:01 am
Forum: General
Topic: Unable to view log file
Replies: 8
Views: 2917

Did your job finish with or without warnings?

Try to do a immidiate purge of the log. Run the job either from the Director or if you run it from the Designer then set the # of warnings limit to 50.
by suse_dk
Fri Oct 28, 2011 3:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Strip double quotes at end of the record
Replies: 4
Views: 2735

So... you only want to remove the double quote from "blank" fields?
by suse_dk
Fri Oct 28, 2011 3:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Some lines of data missing when inserting into DB2
Replies: 4
Views: 1511

Do you define a primary key for your table? If yes, then you have a unique contraint. But are you sure that you read ALL 140.000 records from the source succesfully? What is the record count from the source output link? Try to put a reject link on the sequential file stage and catch for catching any...
by suse_dk
Thu Oct 27, 2011 7:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Mainframe Date Convert
Replies: 5
Views: 2468

ray.wurlod wrote:You should be able to use "%yyyy%ddd" as the date format string. ...
Needless to say that this would be a much better solution :)
by suse_dk
Thu Oct 27, 2011 6:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Mainframe Date Convert
Replies: 5
Views: 2468

I presume it is defined as a string in the source? So, split the string 'YYYYint' into YYYY (where you change it to a date YYYY-01-01) and the int value Convert the date into a julian date Add the two int values together (I think you need to subtract 1) Convert the new julian date to the date format...
by suse_dk
Thu Oct 27, 2011 4:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: One to many column mapping
Replies: 15
Views: 8450

Well, you can use the modify stage for creating a duplicate column.
But my question is the same as Ronalds... Why not use the tranformer stage?
by suse_dk
Tue Oct 25, 2011 1:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Conversion from type "timestamp" to type "dat
Replies: 21
Views: 9939

Read the connectivity guide for Oracle on mapping of oracle datatypes to datastage datatypes.
by suse_dk
Fri Oct 21, 2011 1:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data getting set to zero
Replies: 9
Views: 5905

Try to look at your file in a HEX editor - maybe there is a character read with the last column that causes it to default in the transformer?
by suse_dk
Fri Oct 21, 2011 1:35 am
Forum: General
Topic: Unable to view log file
Replies: 8
Views: 2917

When did you run the job compared to the auto-purge settings in your project?