Search found 138 matches

by koolnitz
Tue Nov 27, 2007 4:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: to get duplicate records
Replies: 18
Views: 8475

I'm assuming that your table has 3 columns with name col1, col2 and col3. Here is a generic query that meets your requirement... SELECT col1, col2, col3, count(*) as Count FROM tab_name GROUP BY col1, col2, col3 HAVING COUNT(*)>1 In the Database stage in your DS job, define four columns - col1, col2...
by koolnitz
Tue Nov 27, 2007 4:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: to get duplicate records
Replies: 18
Views: 8475

Pls post what is your Database.
Btw, you could also google for the command :idea:
by koolnitz
Tue Nov 27, 2007 4:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: to get duplicate records
Replies: 18
Views: 8475

Assuming that 'databases' mean 'tables' from your statement "i hav 2 databases...".
You can find the duplicate records without actually relating (e.g. join) the two tables, by firing the appropriate SQL statement against the table that has duplicate rows.
by koolnitz
Tue Nov 27, 2007 3:19 am
Forum: General
Topic: dsrecords command error
Replies: 6
Views: 12301

To run this (dsrecords) command on Unix prompt, you need to set the environment as following: 1> PATH=$PATH:$APT_ORCHHOME/bin:$DSHOME/bin:$DSHOME/lib 2> export PATH 3> . $DSHOME/dsenv 4> LIBPATH=$APT_ORCHHOME/lib:$LIBPATH; 5> export LIBPATH 6> $dsrecords <dataset dir/>dataset_name
by koolnitz
Tue Nov 27, 2007 3:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error running RUNSTATS from DB2 API stage
Replies: 5
Views: 4392

Error running RUNSTATS from DB2 API stage

Hello All I'm trying to fire the following RUNSTATS command from SQL>After in DB2 API stage: RUNSTATS on BKH.CNTAC with distribution and sampled detailed indexes all allow write access; Same command executes successfully when fired from DB2 client. But it's throwing warnings when run from DataStage:...
by koolnitz
Fri Nov 23, 2007 12:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Algorithm used by DataStage for password encryption?
Replies: 2
Views: 1753

Ray, Thanks for the information!
by koolnitz
Wed Nov 21, 2007 11:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Algorithm used by DataStage for password encryption?
Replies: 2
Views: 1753

Algorithm used by DataStage for password encryption?

Hello All,

I tried to search in the documents (PDFs) but couldn't find anything being pubilshed by IBM/Ascential about the alogrithm used for password encryption. Is anybody aware of the same? Is it mentioned in any of the documents?

Thanks!
by koolnitz
Wed Nov 14, 2007 12:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Deriving Date based on given Time zone
Replies: 5
Views: 1323

Following derivation logic works when used in Transformer: TimestampToDate(TimestampFromSecondsSince(-(GetEnvironment('prmServerTimeZone')-GetEnvironment('prmCountryTimeZone'))*3600, CurrentTimestamp())) Forgot to mention that the given parameters have been defined as Environment variables, hence us...
by koolnitz
Wed Nov 14, 2007 7:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Deriving Date based on given Time zone
Replies: 5
Views: 1323

Sorry if I was unable to express my requirement clearly.

Yes, I don't need to figure out the time difference. I just want capture the current date of a country with the help of it's given timezone (GMT+/-n).
by koolnitz
Wed Nov 14, 2007 7:21 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Deriving Date based on given Time zone
Replies: 5
Views: 1323

Hi Craig,

I'm unable to find a way to subtract hours from Date :?:
Suppose, if the current timestamp of server is 2007-11-14-01.09.50.384917, then the desired output should be a Date field with value 2007-11-13, for the given example.

Thanks!
by koolnitz
Wed Nov 14, 2007 6:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Deriving Date based on given Time zone
Replies: 5
Views: 1323

Deriving Date based on given Time zone

Hello All I have a requirement to find out current date for a country by having it's Time zone info. Am trying to explain my requirement through the following example.. DS server has been installed in Hong Kong and I need to find out current date in India. I'm thinking to introduce two parameters (e...
by koolnitz
Mon Sep 10, 2007 12:53 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Performace issue in job sequence run
Replies: 3
Views: 1311

Performace issue in job sequence run

Hi We have a job sequencer containing 10 jobs in row. If a job finishes successfully, its successor job kicks off and there are no other triggers defined between the jobs. Earlier, the sum of Elapsed time of individual jobs was quite near to the total elapsed time of the job sequence. Now, DS takes ...
by koolnitz
Wed Jul 25, 2007 8:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compilation error
Replies: 2
Views: 2452

There are 7 reference links in the lookup stage. For one link, the "Lookup Failure" condition was set to DROP while for others it was CONTINUE. When I changed DROP to CONTINUE, the job got compiled successfully. The job complained even when I tried to change DROP to REJECT! Is there any ru...
by koolnitz
Wed Jul 25, 2007 7:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compilation error
Replies: 2
Views: 2452

Compilation error

Hi I'm getting the following compilation error from a Parallel job. As per my understanding it's been caused by the lookup stage Lookup_119. I checked and couldn't find anything wrong in terms of column mapping and data type definition. Especially, there is no duplication of the field IP_ID_CUST as ...
by koolnitz
Tue Jan 30, 2007 3:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Checking Operator Error
Replies: 5
Views: 2498

seq_rej: When checking operator: A sequential operator cannot preserve the partitioning of the parallel data set on input port 0. I see. Got confused because the OP mentioned about the Seq file stage used as a target. I believe what you just explained is applicable to seq file stages used as source...