Search found 78 matches

by v2kmadhav
Mon Feb 20, 2012 2:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Distributed Transaction Stage
Replies: 4
Views: 3013

If you read the messages as "Move to work" queue and propogate the binded MsgId to the DTS stage.. it should move only records that failed to the work queue.
by v2kmadhav
Mon Feb 20, 2012 2:16 am
Forum: General
Topic: How to assign $Var value to Param value
Replies: 15
Views: 4714

are you saying you need $LND_PWD to be the value of the paramter LND_PWD .... it wont be possible. You could create a user defined variable $LND_PWD and call that as a paramter in your paramset.
by v2kmadhav
Wed Feb 08, 2012 7:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue with Random() function
Replies: 8
Views: 7105

if you can be flexible with length/solution and its all about generating a randow number, try generating a unique value using a combination of something like inrownum||systime||random() or something that makes it unique ..
by v2kmadhav
Wed Feb 08, 2012 7:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Messages are deleting from Queue if job aborts
Replies: 5
Views: 3333

If your target database is compatible with a DTS stage (and ofcourse if you have it and if your release support it) you could use that - and messages are handled within the job the way you want it without any additional logic. But in the end i guess it comes down to what the business want you to do ...
by v2kmadhav
Wed Feb 08, 2012 5:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Read SQL into Datastage job
Replies: 7
Views: 6697

are the number of columns in the sql query dynamic ? if its always 3 columns? What do you mean by process the data ? Would it be different for each table the data is extracted from ? You could fetch the value in column D querying this table from a sequencer and pass the output sql as a parameter to ...
by v2kmadhav
Wed Feb 08, 2012 5:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Read SQL into Datastage job
Replies: 7
Views: 6697

are the number of columns in the sql query dynamic ? if its always 3 columns? What do you mean by process the data ? Would it be different for each table the data is extracted from ? You could fetch the value in column D querying this table from a sequencer and pass the output sql as a parameter to ...
by v2kmadhav
Wed Feb 08, 2012 5:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue with Random() function
Replies: 8
Views: 7105

if I were you - for something that contributes to the uniqueness, i would rather use something like a surrogate key generator or an equivalent logic instead.
by v2kmadhav
Wed Feb 08, 2012 5:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Messages are deleting from Queue if job aborts
Replies: 5
Views: 3333

Can you not run your job in "Keep" mode and then flush the queue once the jobs runs finishes ?
by v2kmadhav
Wed Feb 08, 2012 4:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Environment Variable + Stage Name
Replies: 2
Views: 1524

APT_DISABLE_COMBINATION

Use it wisely ..
by v2kmadhav
Thu Jan 19, 2012 7:00 am
Forum: General
Topic: Query about writing expression
Replies: 3
Views: 2184

Unless you are going to reuse the derivation more than once its better off to do it straight in the column derv rather than a stage variable.
by v2kmadhav
Wed Jan 18, 2012 1:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to handle this logic?
Replies: 21
Views: 8879

Chandra

ACC_NO - Partitioning, Sorting (Asc)
REC_NO - Sorting (Asc)

Is what you need to have before your xfm stage.
This would certainly work for your requirement.
by v2kmadhav
Tue Jan 17, 2012 4:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ORA-00934: group function is not allowed here
Replies: 8
Views: 6175

Sorry, I guess thats a silly question - since you have already used the same metadata to do seperate INSERT/UPDATE query tests. Could you try deleting that stage and redoing the properties with a new one to ensure you havent got anything hanging in it from another query/job if you copied the stage f...
by v2kmadhav
Tue Jan 17, 2012 4:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ORA-00934: group function is not allowed here
Replies: 8
Views: 6175

what are the column names in queries that get generated.. im hoping none of them are oracle reserve words
by v2kmadhav
Tue Jan 17, 2012 4:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to handle this logic?
Replies: 21
Views: 8879

I would try running the job sequentially to ensure that you have the stage variable logic right first before being worried about the partitioning.. (i know not ideal) But you could get one issue out of the way.. You could still Hash it before the xfm on ACC_NO, REC_NO usage as sort only... That will...
by v2kmadhav
Tue Jan 17, 2012 4:25 am
Forum: General
Topic: Record Count in Transformer
Replies: 10
Views: 6623

Sorry my bad.. Didnt see the OS.

not sure about the reqmt but.. Since you using the sequential file... you could add the "rowNumberColumn" option and see if that helps you..