Search found 6797 matches

by DSguru2B
Mon Jun 26, 2006 12:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: clean upon failure in DB2 Enterprise
Replies: 14
Views: 3191

Your load was interrupted. You need to issue a Load Terminate command. If your previous load was of type REPLACE, then your table will be truncated. But if it was of type INSERT, it will be restored to a point before the Load command was issued even though you have specified consistancy points.
by DSguru2B
Mon Jun 26, 2006 12:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: SyncSort
Replies: 6
Views: 1501

Because such general terms are vastly described outside this forum. And google is your best friend in such cases. Instead of waiting for someone to post an answer here, it will be much better and faster for you to use google. ArndW was kind enough to give you a brief description in his reply. For mo...
by DSguru2B
Mon Jun 26, 2006 11:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: clean upon failure in DB2 Enterprise
Replies: 14
Views: 3191

If this is an initial load and you dont care about the data already loaded then truncate the table. Even that takes the table out of load pending state. Something like

Code: Select all

load from  /dev/null of del replace into <tablename>


Use the above command only if its UDB and not DB2.
by DSguru2B
Mon Jun 26, 2006 10:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: read_delimited()
Replies: 6
Views: 1628

In the output of the sequential file stage, specify the quote characters as 000. Also while building the file. Specify the quote character as 000.
by DSguru2B
Mon Jun 26, 2006 9:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: generating a single row from multiple rows
Replies: 7
Views: 1241

O great. Then the Last option is going to work. Ive done something like that in the past and the last option works great.
by DSguru2B
Mon Jun 26, 2006 9:44 am
Forum: Site/Forum
Topic: Congrats Kumar
Replies: 10
Views: 3975

Yep, couldnt let go of my turn in pulling your leg. :wink:
Just something i like to do :twisted:
by DSguru2B
Mon Jun 26, 2006 9:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: why does Datastage not support Datatype INT8(serial8)
Replies: 20
Views: 9199

Forget the meta plugin for now. Does DS 6.0 DRS stage support Informix. If it does, create an odbc connection to your database and try to use the DRS stage. See whether you get an error with that.
by DSguru2B
Mon Jun 26, 2006 7:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: generating a single row from multiple rows
Replies: 7
Views: 1241

Load that into a temp table, group by the key and get the last one. If you were on server, you could have achieved this by aggregator. I am not sure if the Last option is available in a parallel aggreagator. Or, if the remove duplicate stage works like a hashed file stage, then pass it through the r...
by DSguru2B
Mon Jun 26, 2006 7:01 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: why does Datastage not support Datatype INT8(serial8)
Replies: 20
Views: 9199

I think this is the source thats creating the problem. What about odbc stage. Can you use the odbc stage to send a select?
by DSguru2B
Mon Jun 26, 2006 6:56 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: filter strings from number
Replies: 4
Views: 1049

Or, you can also use the builtin transform funtion LETTERS(). That will return you all the alphabets from a mixed character string. That is offcourse, if you want to utilize the built-in functions of datastage.
by DSguru2B
Mon Jun 26, 2006 6:51 am
Forum: Site/Forum
Topic: Congrats Kumar
Replies: 10
Views: 3975

O yes Kumar. Now its my turn, Ray, Craig watch out for kumar has turned on the NOS. :wink:
Jokes apart, Congrats Kumar. The site has gained a lot from you, and me personally have grown learning from your posts. Keep it up.
Regards,
by DSguru2B
Fri Jun 23, 2006 1:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: create timestamp column
Replies: 9
Views: 1978

In otherwords you need to capture the timestamp at row level when that particular row was inserted or updated. Well for inserts, specify that column to get the current timestamp at the table itself. This way you dont even need to pass that particular column. When a row gets inserted, the database wi...
by DSguru2B
Fri Jun 23, 2006 12:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ASCII format showing some low characters
Replies: 22
Views: 5709

on second thought ^@ is control character for NULL. Convert null to some value like space. You know what, easiest way. Perform a sed operation on it and replace the nulls with a pipe instead of a space so that you can actually see that it did get converted. Something like sed 's/\x00/|/g' file > new...
by DSguru2B
Fri Jun 23, 2006 12:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ASCII format showing some low characters
Replies: 22
Views: 5709

Then do this

Code: Select all

convert(char(094):char(064),"",DSLink2.YOUR_FIELD_GOES_HERE) 


char(094) = ^
char(064) = @