Search found 6797 matches

by DSguru2B
Sat Jun 17, 2006 10:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date to Integer Conversion in Db2 query
Replies: 3
Views: 1906

There are a few date/timestamp manipulation function in UDB. Your best bet would be google.
Check this site out for a start. Also the IBM's public library.
by DSguru2B
Sat Jun 17, 2006 9:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Picking first 11 records in a Transformer
Replies: 3
Views: 1057

Are you using a Basic Transformer. If yes then Craigs solution would work. Actually it would work even with the Parallel Transformer because all that needs to be done is the change detention and restricting the output to 11.
by DSguru2B
Sat Jun 17, 2006 9:52 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSCONTROLJOB
Replies: 5
Views: 1112

Or maybe he meant DataStage Control Job as in job control, Ray, wheres your 'ReadMyMind Stage'. Really need it now :roll:
by DSguru2B
Sat Jun 17, 2006 9:48 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Why checkpoint and restart doesn't work?
Replies: 14
Views: 3893

Craig is right. IBM, Acsential tailored a product that attends to the general needs, and to some extent, specific needs of an ETL process. Restartability is the outer layer. Its one of the key elements of a process. It needs to be designed/tailor coded at times. No doubt DataStage Sequence jobs have...
by DSguru2B
Sat Jun 17, 2006 9:30 am
Forum: Site/Forum
Topic: CONGRATS DSGURU
Replies: 13
Views: 5712

Thanks guys. The DSX community has always been very kind and supportive.
And Craig, yea, its one of those :wink:
by DSguru2B
Fri Jun 16, 2006 9:45 pm
Forum: Site/Forum
Topic: CONGRATS DSGURU
Replies: 13
Views: 5712

Thanks buddy. And as i said then, still a long way to go :wink:
by DSguru2B
Fri Jun 16, 2006 9:44 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Automatic DataStage Maintenance
Replies: 8
Views: 5185

I, personally agree with you Craig. Such a need arises if 'SHGVVW' :twisted:
by DSguru2B
Fri Jun 16, 2006 3:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: sequence number
Replies: 12
Views: 3854

Re: sequence

Abracadabra hocus focus select * from books where book in (select t.book countversion from books t where t.version between #start_version# and #end_version# group by t.book having count(distinct t.version) = #end_version# - #start_version# + 1) assuming that table name is books and ...
by DSguru2B
Fri Jun 16, 2006 3:27 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: sequence number
Replies: 12
Views: 3854

Re: sequence

how to get prevBook and preversion. i have shown it in my stage variables. when i say in.book, that means your column 'book' and 'in' is for input, so in other words, your input column 'book', similarly for your version. From your input just drag and drop the book and version to these two stage var...
by DSguru2B
Fri Jun 16, 2006 3:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error: ORA-24338 statement handle not executed.
Replies: 11
Views: 7408

These jobs functioned before, only that I migrei they stops another environment, and started to give these errors. I think you answered your own question. Its the environment. See if ORACLE_HOME is set up correctly and is pointing to a valid ORACLE_HOME. Look into your dsenv file in the DSEngine. D...
by DSguru2B
Fri Jun 16, 2006 3:16 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: sequence number
Replies: 12
Views: 3854

Ok for that you cannot do it in a single transformer. You need to determine what books are in order, flag them and then in the second transformer only let them pass through. Use the conditional checks in the first transformer to build a hashed file with only one column 'book'. So basically in the fi...
by DSguru2B
Fri Jun 16, 2006 2:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unable to Initialize Db2 plugin
Replies: 11
Views: 2304

I dont know where does your db2profile sit.
For me its

Code: Select all

. /export/home/dsadm/sqllib/db2profile
by DSguru2B
Fri Jun 16, 2006 2:13 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Orchestrate Operators
Replies: 14
Views: 6968

Ray,
The link that I had posted is not for the website, but a unix directory path where the OP can find some examples to see from.
by DSguru2B
Fri Jun 16, 2006 1:49 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: sequence number
Replies: 12
Views: 3854

So let me make sure i got this straight!
for 1-100 you are missing version 1 and 3 and for book 1-200 you are not missing any version. So you have to output
1-100 0
1-100 3
for the data sample that you gave. Correct?
Or you just have to raise a red flag if they are out of sequence.
by DSguru2B
Fri Jun 16, 2006 1:20 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unable to Initialize Db2 plugin
Replies: 11
Views: 2304

Yes. I think thats what it is. You are not sourceing the db2 profile in your dsenv file. And yes you have to manually put that in there. Also, try building an odbc connection to your db2 and then try to import the db2 table meta data from odbc import and see if you can do that. Then try using the DB...