Search found 48 matches

by kiran259
Wed May 01, 2013 1:43 pm
Forum: General
Topic: Transformer Stage Doubt
Replies: 2
Views: 1572

Re: Transformer Stage Doubt

Possible
by kiran259
Thu May 20, 2010 1:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Handling run time meta data
Replies: 5
Views: 2657

Re: Handling run time meta data

Use RCP in the Input DB stage , parameterize the query and pass it at runtime(you may use parameter set)
But the good way is to create separate jobs for better maintainence.
by kiran259
Tue May 18, 2010 5:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem with StringToTime conversion
Replies: 12
Views: 8543

What is the datatype in dataset while loading?
by kiran259
Mon May 17, 2010 3:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem with StringToTime conversion
Replies: 12
Views: 8543

<Parameter specified but not used in flow>.Well,this may come due to various reasons.It will not give any validation errors,as this is not a syntax error.Check the flow once again.
by kiran259
Sun Mar 28, 2010 7:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date conversion when using Oracle Enterprise stage as Target
Replies: 9
Views: 4528

Success!!I played it as string and followed #2 in my post.Now all the rows loading into the database.But I wonder when I put the data type field as per the target table in OE stage,why don't the DS load it?Can you justify?

Thanks for response.
by kiran259
Sat Mar 27, 2010 12:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date conversion when using Oracle Enterprise stage as Target
Replies: 9
Views: 4528

[quote="priyadarshikunal"]What if you change the method from upsert to load? does it loads data correctly?

I don't have DBA privileges to do direct load.
by kiran259
Sat Mar 27, 2010 12:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date conversion when using Oracle Enterprise stage as Target
Replies: 9
Views: 4528

It does, actually, with a Timestamp you have to include the time portion even if it is all zeroes. I always treat Oracle DATE fields as Timestamps in job and ensure a proper time portion. ... I implemented below conversion: StringToDate(lnkname.column,'YYYY-MM-DD'):' ':'00':':':'00':':':'00' Out of...
by kiran259
Fri Mar 26, 2010 7:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date conversion when using Oracle Enterprise stage as Target
Replies: 9
Views: 4528

Yes.The source column is in the same format defined 'YYYY-MM-DD'. One more point is ,when I import Date field from Oracle DB,it reports in datastage as Timestamp.But I assume that doesn't make much difference as it is oracle.
by kiran259
Fri Mar 26, 2010 3:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date conversion when using Oracle Enterprise stage as Target
Replies: 9
Views: 4528

Date conversion when using Oracle Enterprise stage as Target

My target is Oracle 10g database.Here is the code snippet. Dataset----->T/F------->OracleEnterpriseStage I have a varchar field from input dataset which is to be loaded as Date in Oracle target. 1)I kept StringToDate(<lnkname>,"%yyyy-%mm-%dd") in transformer---All records are rejected sile...
by kiran259
Tue Jan 26, 2010 10:42 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: User Variable Activity
Replies: 9
Views: 4609

The mistake done by me was appending double quotes at the front and rear ends of the query in UserVar Activity.It was running successfully after I remove them.But DS puzzled me giving the Oracle:identifier too long... :?

Thanks for your help
by kiran259
Mon Jan 25, 2010 6:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: User Variable Activity
Replies: 9
Views: 4609

select <schemaname.tablename.columnname>(30 column names) from <schemaname.tablename> where to_char(schemaname.tablename.test_date,'YYYY-MM-DD')='2010-07-25'----Query used I checked with select * from <tablename> where to_char(test_date,'YYYY-MM-DD')='2010-07-25'. Errors logging for both: Message:OR...
by kiran259
Mon Jan 25, 2010 5:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: User Variable Activity
Replies: 9
Views: 4609

All the column name lengths are <30.But still DS logging "Oracle identifier too long" and "query not ended properly" errors. :?
by kiran259
Mon Jan 25, 2010 4:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: User Variable Activity
Replies: 9
Views: 4609

What happens if you add a ";" to the end of your query? ... ------ Same error I forgot to mention another error:ORA-00972 identifier too long. After some search,I found that some clients do not accept VARCHAR>31.I am using Oracle 10g version. I have columns which had VARCHAR>31.Is this cr...
by kiran259
Mon Jan 25, 2010 3:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: User Variable Activity
Replies: 9
Views: 4609

User Variable Activity

I have a parallel job where the query is parameterized(RCP ON). Oracle Enterprise------>Seq File This parallel job is connected in a job sequence wherein UserVariable activity used. A where condition is kept in the query like "where to_char(sample_date,'YYYY-MM-DD')='2010-01-25'". I am pas...
by kiran259
Wed Dec 09, 2009 12:49 am
Forum: General
Topic: Making a job to run on Multiple Instances
Replies: 4
Views: 2006

Open in a new post then.Anyways,Edit the config file with the desired number of logical nodes and make the job run with this config file.But this node enhancement depends on resource availabilty.