Search found 4992 matches

by kcbland
Thu Apr 27, 2006 12:14 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: reject link order
Replies: 9
Views: 1931

The manual tells you to do it. It used to be required as the last link when DS 4 came out, but in prior releases it didn't matter. Maybe IBM will change their minds. In the meantime, follow the manual.
by kcbland
Thu Apr 27, 2006 12:08 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to detect and create combinations??
Replies: 26
Views: 4406

Well, I hope this is close. create table ken (id integer, element varchar2(20) ) insert into ken values (1,'a') insert into ken values (2,'b') insert into ken values (3,'c') insert into ken values (4,'d') create table ken_cartx as select rownum "X...
by kcbland
Thu Apr 27, 2006 11:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to detect and create combinations??
Replies: 26
Views: 4406

Your example is not understandable. Your first table shows id ranged from 1 to 4, but your second table shows it ranged from 1 to 9,etc. Where does combo_num come from? Why does the "cartesian" type effect occur at 5, where the multiplication is a factor of the position after 5?
by kcbland
Thu Apr 27, 2006 11:28 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: reject link order
Replies: 9
Views: 1931

Read page 166 of your Server Job Developer's Guide. :wink:
by kcbland
Thu Apr 27, 2006 10:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage log overflow limit setting
Replies: 9
Views: 6346

No, it will not "reset". The job will abort when the log file exceeds 2.2GB.
by kcbland
Thu Apr 27, 2006 10:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How long has DataStage been in the market?
Replies: 4
Views: 1767

DS Server edition 1.0 premiered in 1997 from VMark. DS/390 was acquired from Prism as the PWE tool sometime around 1998. PX was acquired from Torrent in 2001 as the Orchestrate tool. RTI came in 2002? from Mercator?. Server edition had 2000+ customers as of 2001 when Torrent was brought in, and cont...
by kcbland
Thu Apr 27, 2006 9:55 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Append YYYYMM to filename
Replies: 7
Views: 1358

As long as you understand the differences in coding between Ray's and my example, great. I used a more simplistic approach and demonstrated multiple functions that would be useful to know. Ray showed the powerful function OCONV and how to "stack" multiple operations as an inline dynamic array and fo...
by kcbland
Thu Apr 27, 2006 9:11 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Open Error in connecting to a database
Replies: 2
Views: 675

When, where, why are you getting this message? What are you trying to do?
by kcbland
Thu Apr 27, 2006 9:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: KeyMgtGetNextValue
Replies: 4
Views: 1344

There isn't one. Write a job that does a SELECT MAX(yourkeycolumn) FROM yourtable and puts the result into the appropriate hashed file used by the function.
by kcbland
Thu Apr 27, 2006 7:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: row by row processing in datastage
Replies: 14
Views: 7406

Custom job control. Look at a Batch job to get you started, all you need to do is capture the contents of FILE1 into an array and setup a loop. Consider something like this: UNIXcmd="cat ":FILE Call DSExecute("UNIX", UNIXcmd, ScreenOutput, ReturnCode) LineCount = DCOUNT&#...
by kcbland
Thu Apr 27, 2006 7:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: flat files, memory
Replies: 10
Views: 2233

If its in the same database, just differenct schemas, and the size of both input and lookup are huge, i would do a lookup in just the OCI stage. This way you are avoiding bringing in all the data first to the DataStage server, and then doing the join. All your doing in this case is just passing the...
by kcbland
Thu Apr 27, 2006 7:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage log overflow limit setting
Replies: 9
Views: 6346

It is a bad idea to use the DS logs for permanent storage. Consider loading into a database if you need full history. Reimporting the job clears the log, so you can never make changes to the job. There is no method for "migrating" logs if you move to another project/server.
by kcbland
Wed Apr 26, 2006 9:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: inconsistent output from dsjob command
Replies: 1
Views: 1082

In the loop that pulls back the log messages, you'll want to put a conditional in there to only use the log message if the jobname.instance is found in the text string. The DS BASIC job control APIs for scanning job logs are not instance-aware, even if using the jobname.instance. Your change should ...
by kcbland
Wed Apr 26, 2006 9:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Batch in Parallel
Replies: 2
Views: 961

Welcome aboard. You should consider creating a loop to periodically check the status of the started jobs using the documented APIs. When you notice a job has now finished, take the appropriate action. The DSWaitForJob API is an infinite routine which waits forever for the controlled job to finish. I...