Search found 6797 matches

by DSguru2B
Wed Mar 21, 2007 9:21 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem mapping SmallDateTime field to Timestamp
Replies: 10
Views: 2839

That means it never got created properly. Go ahead and capture the rejects and analyze the data of the rejected records.
by DSguru2B
Wed Mar 21, 2007 9:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: writing Positive decimal with + sign
Replies: 13
Views: 3629

Ok. Whatever you business approves. Thought I'd point that out to you.
by DSguru2B
Wed Mar 21, 2007 9:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: 7 Key column Lookup
Replies: 11
Views: 2110

When you say "wierd data", it does'nt make sense. You sure you are defining all keys properly in both, while creating the hashed file and while reading the hashed file?
by DSguru2B
Wed Mar 21, 2007 9:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Check existence of a file from a Transformer
Replies: 5
Views: 1652

I could'nt find mine, and dont have time to search for more, Ray has a similar routine to do the same. Click here.
by DSguru2B
Wed Mar 21, 2007 9:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: 7 Key column Lookup
Replies: 11
Views: 2110

Are you using a server job (mention of hashed file) or a px job (job type)?
If you make all the seven columns as keys, then from your sample data, you will not lose any data as you composite key (combination of seven keys) is different for each row.
by DSguru2B
Wed Mar 21, 2007 9:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Blank "Timestamp" field shows *****
Replies: 9
Views: 1728

First create a test job that reads your source, changes the datatypes using modify stage and then loads it back to a sequential file stage. If this works out then you can replace the target sequential file stage with the your "rest of the job".
by DSguru2B
Wed Mar 21, 2007 9:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Check existence of a file from a Transformer
Replies: 5
Views: 1652

Sure you can. You need to write a routine that checks for file existence and returns an appropriate return value which you can then check inside the transformer and proceed. I wrote a simple one months back. Search for it here.
by DSguru2B
Wed Mar 21, 2007 8:59 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Performance with Numeric and Date Validation
Replies: 3
Views: 1553

It doesnt get shipped with the product. Its a user written routine. Ray wrote a IsValid() routine for server jobs. You can search for that.
by DSguru2B
Wed Mar 21, 2007 8:18 am
Forum: General
Topic: Stage Variable not refreshing...
Replies: 2
Views: 1530

In comparisons the order of stage variables is very important as they get executed in the order they are defined. I believe the order thats going to work for you is
svFinalDept
svPreviousDept
svDept
by DSguru2B
Wed Mar 21, 2007 7:14 am
Forum: General
Topic: Merging Records
Replies: 30
Views: 8622

If you need unmatching records from both the files then do a FULL OUTER JOIN.
by DSguru2B
Wed Mar 21, 2007 7:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: My Jobs Disappear
Replies: 2
Views: 742

If you search, you will find that folks have tried the same and it has worked for most of them, if not all.
by DSguru2B
Tue Mar 20, 2007 3:11 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Strange Logic
Replies: 15
Views: 3174

ganesh, your command works fine on command line, I tested it out too. The first awk command that you posted. kashif, why does'nt the command work as a filter for you? Try it out on command line as others requested. Also make sure that the columns that are supposed to be empty are "really empty" and ...
by DSguru2B
Tue Mar 20, 2007 3:07 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Blank "Timestamp" field shows *****
Replies: 9
Views: 1728

Well then you need to use modify stage. Type conversions are needed in parallel jobs.
by DSguru2B
Tue Mar 20, 2007 3:05 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to Filter certain Date values
Replies: 13
Views: 3818

Please do not hijack threads. Start your own and give explanation of what the incoming date looks like.
by DSguru2B
Tue Mar 20, 2007 12:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Strange Logic
Replies: 15
Views: 3174

Use that code as a filter command in your sequential file stage. You do not need to redirect the output to a file.