Search found 6797 matches

by DSguru2B
Thu Feb 16, 2012 1:25 pm
Forum: General
Topic: how to pass Param Values to Sequences
Replies: 4
Views: 2675

Also make sure that your cut command is working.
run this on your shell

Code: Select all

echo [your date in the format its in the file] | cut -d "," -f -1
make sure there are no leading or trailing spaces
by DSguru2B
Thu Feb 16, 2012 11:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Capture changed records.
Replies: 11
Views: 5353

Efficiency is relative. Change data capture will identify the records. Change apply will apply the changes to wherever.
by DSguru2B
Thu Feb 16, 2012 11:23 am
Forum: General
Topic: Handling files
Replies: 3
Views: 1474

Look into Wait for file stage or external file sniffing capabilities in enterprise schedulers. Read and write to two locations. One to your actual destination and the other to the archive folder. Have a cleanup job run every day check for file create date and anything over 30 days, get rid of it.
by DSguru2B
Thu Sep 01, 2011 7:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need to retain unique records
Replies: 9
Views: 4547

You dont have to replace null indefinitely. Just replace it before you feed it to the sort and aggregator stage and then replace it back.
by DSguru2B
Wed Aug 31, 2011 1:09 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need to retain unique records
Replies: 9
Views: 4547

The complete row is lost???
That is a problem. Look at your partitioning method. If the row is there with count > 1, it is getting filtered out and thats ok.
by DSguru2B
Wed Aug 31, 2011 1:01 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: converting a Numeric value into Varchar...
Replies: 5
Views: 2683

First change it to integer (no decimals) then multiply.
by DSguru2B
Wed Aug 31, 2011 12:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need to retain unique records
Replies: 9
Views: 4547

Apply the group by and count and filter out keys for records that have count = 1. Let this be a lookup to your source filtering on matched records.
by DSguru2B
Wed Aug 31, 2011 12:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: converting a Numeric value into Varchar...
Replies: 5
Views: 2683

Convert to numeric and multiply it with 100000000. But be sure that really is the requirement.
by DSguru2B
Wed Aug 31, 2011 10:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential file "delimiter not seen" error
Replies: 15
Views: 26054

Open the file with excel. It accepts tab delimited files. see if it opens up the file properly. If it doesn't, that means the file is not properly delimited. Lets start there.
by DSguru2B
Wed Aug 31, 2011 7:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Dealing with huge data
Replies: 3
Views: 3142

Is that join going to reduce the data???
If yes, then you can load the data from the "other" database into your current database that houses your source. Pass a sql join and extract.
by DSguru2B
Wed Aug 31, 2011 7:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error loading Timestamp to DB2 from Oracle DB
Replies: 2
Views: 2345

10 bytes is not a timestamp. Its a date field. Convert your data into date and try inserting.
by DSguru2B
Tue Aug 23, 2011 12:29 pm
Forum: General
Topic: Calling a script from datastage sequence job
Replies: 7
Views: 2867

Yes. You can use the after job subroutine option as well.
by DSguru2B
Tue Aug 23, 2011 9:34 am
Forum: General
Topic: Calling a script from datastage sequence job
Replies: 7
Views: 2867

Execute Command Stage perhaps !
by DSguru2B
Wed Jul 13, 2011 9:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: creating many output files
Replies: 10
Views: 4454

I would suggest to attach a condition id of some sort with your data and then use some sort of os level command to split your file into many files.
by DSguru2B
Thu Jun 30, 2011 7:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Logic Help
Replies: 5
Views: 2547

Restrict it in sql. Based on your example, you want everything from T1 which is not there in T2, deduped.
Do a 'not exists' clause and run the output through remove duplicate stage.