Search found 15603 matches

by ArndW
Fri Nov 26, 2010 10:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Difference Between join, Lookup and merge
Replies: 6
Views: 12576

How many nodes are you running these jobs on, are they using the same configuration file and on which column are you partitioning your data?
by ArndW
Fri Nov 26, 2010 3:06 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: GET FILENAME
Replies: 37
Views: 9673

Do it step-by-step. Write a job sequence that calls your routine. Once you have that working, put a nested condition in the sequence that branches depending upon your routine's return value.
by ArndW
Fri Nov 26, 2010 3:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: special character removal using DS job
Replies: 6
Views: 5423

Could you explain the rule for your example? One can use the TRIM() function to replace double-quotes with single-quotes or to remove leading or trailing or duplicate internal double-quotes, but in your case it would seem that you have different rules.
by ArndW
Thu Nov 25, 2010 10:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Removing Duplicates
Replies: 6
Views: 2192

Is this in one field, i.e. in one string and duplicates are defined by commas?
by ArndW
Thu Nov 25, 2010 7:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Comparing data and Deletion from oracle table
Replies: 3
Views: 1164

What database stage are you using? Usually you can choose a write mode of "Delete" so each key that is sent to the database stage deletes that row. So in your case it would be a job reading one database, then splitting into 4 streams (copy stage) and doing 4 discrete database table deletes...
by ArndW
Thu Nov 25, 2010 6:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Comparing data and Deletion from oracle table
Replies: 3
Views: 1164

On the face of it, it sounds like you need to write a job which reads from your rejection table and perform "delete" actions on your 4 staging tables.
by ArndW
Thu Nov 25, 2010 5:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: GET FILENAME
Replies: 37
Views: 9673

That would be very basic Job Sequence work. Execute the routine, use the return value to decide whether or not to execute a job from the sequence.
by ArndW
Thu Nov 25, 2010 3:41 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: problem with LINKROWCOUNT
Replies: 1
Views: 1044

There are 2 problems with your code. DSGetLinkInfo(DSJ.ME,"Flatfile_Stagename","Flatfile_Linkname",DSJ.LINKROWCOUNT) The other problem is that this gets called for each row, so your first row value will be 1, the second row 2, etc. This would be more efficient by using @INROWNUM ...
by ArndW
Thu Nov 25, 2010 2:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Performace issue setting data length for 109 millions rows
Replies: 5
Views: 1792

I seriously doubt that the bottleneck is doing in-memory type conversions. Run your job again and look at CPU usage and I/O usage and you will find that the longer runtimes are because more I/O is being performed. Writing VarChar columns with defined lengths to datasets sees DataStage using the full...
by ArndW
Thu Nov 25, 2010 2:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sftp ing the files and deleting files on remote server.
Replies: 17
Views: 11644

You will need to talk with your UNIX administrator. It seems that either "rsh" is not installed or not in your path, likewise will most likely be the case for "ssh" as well. Once you sort out getting this command working (with or without adding userid/password) then you can imple...
by ArndW
Thu Nov 25, 2010 2:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Calling Unix script in parallel from multiple jobs
Replies: 4
Views: 2641

In that case you need to ensure that you don't get deadlocks when running your script in parallel by either committing everything immediately and/or by using different records in each script.
by ArndW
Wed Nov 24, 2010 11:05 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: GET FILENAME
Replies: 37
Views: 9673

Please explain what isn't working? Is it unable to open the file, or doesn't read a record? Your code really should cover both possible errors, i.e. Ans = "" DFILE = TRIM(Arg1) OPENSEQ DFILE TO F.DFILE THEN READSEQ REC FROM F.DFILE THEN Ans = "Y" ELSE Ans = "N" END ELSE...
by ArndW
Wed Nov 24, 2010 10:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Performace issue setting data length for 109 millions rows
Replies: 5
Views: 1792

If you specify column lengths, then give them realistic values. Using Varchar(1024) for a column that contains "Y" or "N" values will make jobs run slower as DataStage will write the fixed-length maximum of 1024 for each row to your dataset.
by ArndW
Wed Nov 24, 2010 8:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to reference input columns listed in schema file
Replies: 7
Views: 2870

I gave you the syntax, you need to add the "default=0" string, e.g.

Code: Select all

URVA:decimal[1,0] {, default=0,zoned,unsigned};
by ArndW
Wed Nov 24, 2010 8:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to reference input columns listed in schema file
Replies: 7
Views: 2870

You need to create a default value for DOLLAR_AMT. In your schema file add "default=0" or something similar.