Search found 6797 matches

by DSguru2B
Thu Aug 24, 2006 1:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 API
Replies: 3
Views: 975

You can do that by multiple DB2 API stages too. Set the warn limit to 1 and the transaction size to 0. This way even with a single warning, the job will abort and the data will be rolled back.
or you can use the ODBC enterprise stage with transaction grouping.
by DSguru2B
Thu Aug 24, 2006 1:09 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage server Maintainence
Replies: 24
Views: 11163

You can check for files which are 7 days old and delete them. You can put this functionality as part of your unix script, if you have one. Clear out the log files regularly.
by DSguru2B
Thu Aug 24, 2006 1:03 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Lookup Speed
Replies: 10
Views: 2054

Technically speaking it shouldnt make much of a difference. But yes for large amount of records you might see that little difference add up and sum up. I havent really played around with it so cant give you a definate answer. Maybe our gurus can provide some insight. Actuallly if you think about it,...
by DSguru2B
Thu Aug 24, 2006 12:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Lookup Speed
Replies: 10
Views: 2054

I dont think it will make a considerable amount of difference. Its just that stage varaibles get executed first, so the @TRUE or @FALSE will be decided before the row comes in.
by DSguru2B
Thu Aug 24, 2006 12:29 pm
Forum: General
Topic: To move a post
Replies: 4
Views: 3000

You cannot. Only the site moderator can do that. Unless if you can delete it and post it again in the proper forum.
by DSguru2B
Thu Aug 24, 2006 12:05 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date format in DB2UDB database and DataStage
Replies: 6
Views: 1886

IF you target database is UDB too then just pass it as it is because DB2 accepts date in internal format. You dont need to explicity do any conversion to it.
by DSguru2B
Thu Aug 24, 2006 11:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to fetch particular record?
Replies: 2
Views: 574

What is your database? I know in SQLServer you can use something like

Code: Select all

Select TOP 1 FROM (select TOP 1000 from TABLE
ORDER BY KEY DESC)
by DSguru2B
Wed Aug 23, 2006 9:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Special Character in Char column
Replies: 3
Views: 1148

Your inserted value is of length 12. The column is defined as char(30), so the database adds spaces to honor the length of the column. Thats why you are not able to select without using the 'like' operand.
by DSguru2B
Wed Aug 23, 2006 9:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: merging two files
Replies: 3
Views: 1315

In the filter command of the sequential file stage put the command

Code: Select all

cat SRCFILEA SRCFILEB
 


Or run a before job subroutine (Execsh) and combine the two files

Code: Select all

cat SRCFILEA SRCFILEB MergedFile

Access the merged file in your sequential file stage for further manipulations.
by DSguru2B
Wed Aug 23, 2006 6:16 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: String aggregation
Replies: 11
Views: 3940

I did something similar a while back. Check out thispost.
by DSguru2B
Wed Aug 23, 2006 3:20 pm
Forum: Site/Forum
Topic: Ken Hits 4000
Replies: 17
Views: 8797

Ha Ha Ha. Good one Ken. Was just messing with ya :twisted:
by DSguru2B
Wed Aug 23, 2006 2:53 pm
Forum: Site/Forum
Topic: Ken Hits 4000
Replies: 17
Views: 8797

Are we invited :roll:
by DSguru2B
Wed Aug 23, 2006 2:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: "Too many columns in record" - How to resolve this
Replies: 11
Views: 9944

Dont change the delimiter if the file is delimited as a pipe, That reaquires a lot of work. Change the quote character to ". Dont put 000. See what happens.
by DSguru2B
Wed Aug 23, 2006 2:43 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: String aggregation
Replies: 11
Views: 3940

I am not exactly sure. I do not have access to datastage at the moment. But it looked as if it was possible by row merger. I have never used that stage personally, just played around with it once.
by DSguru2B
Wed Aug 23, 2006 1:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: "Too many columns in record" - How to resolve this
Replies: 11
Views: 9944

Whats the delimiter you are specifiying for the file. The data must be containing the delimiter thats why you are getting this kind of warning. Whats the quote character that you have specified?