Search found 4992 matches

by kcbland
Tue May 30, 2006 2:41 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hash Ref Used and Updated in same job
Replies: 20
Views: 3873

You can abort a job many ways, use a constraint on a link with Abort after N rows set to 1 where the constraint checks the reference value against the expected values and acts accordingly. You could also use a custom DS Function to check the values and uses the API DSLogFatal to log a fatal message ...
by kcbland
Tue May 30, 2006 7:06 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: unable to extend temp segment by 128 in tablespace TEMP2
Replies: 9
Views: 4059

The view must be forcing the entire result set to resolve before streaming data, indications of this are use of GROUP BY in thedata. A SELECT * from the view must be more work than your current configuration can handle. If you can't increase the TEMP space any more, than consider extracting subsets ...
by kcbland
Mon May 29, 2006 8:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Data Type Varchar 1500
Replies: 10
Views: 4314

Please describe all stages used in this job, as your value may be getting lost in a prior stage and the error message relates to that stage.

Please paste the EXACT and ENTIRE message, as it often names the stage and link where the error is occurring.
by kcbland
Mon May 29, 2006 7:23 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem with flat Files related to date field
Replies: 8
Views: 1690

The autogenerated SQL puts to_date functions on your DATE or TIMESTAMP data type columns. If your data matches the format token in the SQL, everything works. I suspect your source data is ready to load, just verify. You won't have to do any DS functions to change the data.
by kcbland
Mon May 29, 2006 7:21 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: hashed file
Replies: 2
Views: 955

Preload is only beneficial for performance if the same rows are going to be referenced multiple times. If the reference only occurs once for each row in the reference, it's not beneficial. The more times a row is referenced, the more time you have "saved" by not doing the mechnical reference, but us...
by kcbland
Mon May 29, 2006 7:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Regarding SortStage
Replies: 7
Views: 1644

You have data type issues. Add Transformer stages and adjust/cleanup the data accordingly.
by kcbland
Sat May 27, 2006 9:16 pm
Forum: Site/Forum
Topic: Congratz DSguru2B!!!!
Replies: 7
Views: 3187

Who needs a Premium Poster when you've got DSguru2B??? :cry:

Maybe it's time to be renamed to DSguruIAM??? :lol:
by kcbland
Fri May 19, 2006 9:40 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Routine to Call SQL Server Stored Proc?
Replies: 4
Views: 1709

You're going to have licensing issues because Ascential supplied drivers are licensed only for internal use by DataStage. Unless you supply your own drivers, your ODBC method won't work. What's the issue with command line calls to sqlplus and osql/isql to run scripts that do this work? You could eas...
by kcbland
Fri May 19, 2006 9:35 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: format string
Replies: 3
Views: 793

To change a text string to another, use CHANGE or EREPLACE. Example: text_string=CHANGE(text_string, "|", ")(") To add the leading and trailing parenthesis, just append: text_string="(":text_string:")" To add the "pre" text, just replac...
by kcbland
Fri May 19, 2006 9:27 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Data with Embedded Carriage Returns
Replies: 13
Views: 4120

You'll need to beg for an end-of-record terminator, because of the confusion around the CR/LF not being a true end-of-record terminator as it's embedded within your custom delimiters. The Sequential stage will fail to recognize a row because you won't be able to declare a single character column del...
by kcbland
Fri May 19, 2006 9:22 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: phantom in routine
Replies: 17
Views: 7073

If you look at that phantom message, and post it here, we could tell you what it is saying.

Chances are that your If statements are referencing variables that don't exist within the function.

account_type,book_code, counterparty_code, etc are not declared, are you passing them as arguments?
by kcbland
Tue May 16, 2006 1:22 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Accessing The UV DataBase/ hash File
Replies: 12
Views: 2897

Using DS BASIC, the OPEN and OPENPATH statements are used. The hashed file must be a local file on the server, not on a remote database. READ, READU, WRITE, and WRITEU are used to read and write rows, whereas READV and WRITEV can write individual attributes. Read your DS BASIC manual for extended in...
by kcbland
Thu May 11, 2006 11:49 am
Forum: General
Topic: I need a DSX-Cutter
Replies: 48
Views: 56405

Re: This worked great!

I was wondering why the script doesn't handle other object like shared containers, table definitions, stuff like that? Because that's how I had him write it. Table definitions are completely recreatable and DS is not the system of record. MetaStage, ERWin, etc is the place for that. Feel free to en...
by kcbland
Thu May 11, 2006 11:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Help understanding the named pipes
Replies: 1
Views: 961

Your design under DS7+ would connect the two streams in the design using an IPC stage, which is nothing more than a pipe. The creation of the named pipe happens via a before-job or before- transformer routine? If it's before-job then that happens before either stream beings. If it's before-transform...
by kcbland
Thu May 11, 2006 7:24 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DELETE NEWLINE
Replies: 6
Views: 2281

Okay, Ray's solution won't work because we misunderstood what you are doing. You are actually "connecting" rows, but DataStage reads 1 row at a time. You're going to need to use stage variables to handle this. You need to hold a row in a stage variable if it contains the condition you desire, the "N...