Search found 3329 matches

by Sainath.Srinivasan
Thu Jul 23, 2009 9:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Fill the remaining spaces
Replies: 5
Views: 1612

Maybe the o/p is saying that input is char(10) of which it has 7 non-blank chars and 3 blank chars (which is to be replaced by 'AAA')

Something like

Code: Select all

inputField[1, 7] : 'AAA' 
by Sainath.Srinivasan
Thu Jul 23, 2009 8:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: GetAllBmkDynamicMovement - stored procedur isssue
Replies: 3
Views: 972

What if you add only 1 parameter in the stage and try it ?

Maybe a parameter is not declared or word differently.
by Sainath.Srinivasan
Thu Jul 23, 2009 8:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Calling sequence from a routine
Replies: 6
Views: 1681

How do you intend to invoke the routine in the first place ?
by Sainath.Srinivasan
Thu Jul 23, 2009 8:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Row Counts and UserVariable activity
Replies: 7
Views: 2935

Add an execute command stage in sequencer and use its result in user variables.
by Sainath.Srinivasan
Thu Jul 23, 2009 7:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parallel job design
Replies: 13
Views: 2825

What have you tried so far ?
by Sainath.Srinivasan
Thu Jul 23, 2009 4:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Required Output
Replies: 19
Views: 4031

You can infact do it by descending date - if you are really really adamant. You can send the years with corresponding previous year values followed by a lookup of the same in main stream. Steps will be 1.) Send currentKey, currentYear, previousKey and previousYear values in another link (other than ...
by Sainath.Srinivasan
Thu Jul 23, 2009 2:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parallel job design
Replies: 13
Views: 2825

Ray,

The o/p expects atleast one row from "source" and not "reference".
by Sainath.Srinivasan
Thu Jul 23, 2009 2:23 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: lookup Failed !!
Replies: 15
Views: 4615

Few questions for you to answer 1.) Did you change the hashed file metadata after its creation ? 2.) What is the datatype (including length) of the hashed file key column ? 3.) What is the datatype (including length) of source column using which you are doing the lookup ? Copy one value from key col...
by Sainath.Srinivasan
Wed Jul 22, 2009 8:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Required Output
Replies: 19
Views: 4031

All I was trying to convey is your solution is what I had in my mind. You may have to add 1 more stage variable.
by Sainath.Srinivasan
Wed Jul 22, 2009 8:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Required Output
Replies: 19
Views: 4031

That was what we were mentioning.

From me - descending => reverse order. Not descending by date.

Hope this clarifies.
by Sainath.Srinivasan
Wed Jul 22, 2009 8:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Required Output
Replies: 19
Views: 4031

Re: Required Output

balu536 wrote: Please clarify whether this logic can be achieved with the stage variables in Transformer.
I thought that is what you wanted.

Anyhow, did you give it a try? Do you have the pseudocode of what you want ?
by Sainath.Srinivasan
Wed Jul 22, 2009 7:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Required Output
Replies: 19
Views: 4031

Sort IS required as we need the data by descending on your key(s).

Hint: You will need 4 stage variables.

Think about it and write a pseudocode. I will leave it to your thought process.
by Sainath.Srinivasan
Wed Jul 22, 2009 7:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parallel job design
Replies: 13
Views: 2825

You can call your job from a sequencer.

After the job, check the file whether there are any rows with execute and condition stages.

Depending on the result, branch to your required actions.

I assume you can search and find the stages required.
by Sainath.Srinivasan
Wed Jul 22, 2009 7:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Required Output
Replies: 19
Views: 4031

Sort it by key descending and use stage variables.
by Sainath.Srinivasan
Wed Jul 22, 2009 7:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: nameless folder appears, project corrupt?
Replies: 23
Views: 6482

Can you export all jobs from folders other than the empty folder ?