Search found 135 matches

by srinivas.nettalam
Tue Feb 12, 2013 8:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Get File name in External source stage
Replies: 18
Views: 14721

Haven't you tried writing the xpath description for that field?It should work if other columns are getting parsed correctly.
by srinivas.nettalam
Mon Feb 11, 2013 1:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Get File name in External source stage
Replies: 18
Views: 14721

...I have created a field FILE_NAME (same as Input column name) , it doesn't have any derivation (1st field)....
It doesn't have any derivation means you are passing '' or simply mapping the input file_name column?
by srinivas.nettalam
Thu Feb 07, 2013 6:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reverse Pivot
Replies: 6
Views: 3192

Which version of datastage are you working on?
by srinivas.nettalam
Thu Feb 07, 2013 6:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reverse Pivot
Replies: 6
Views: 3192

Searching in this forum for "vertical pivot" will give you solution.
by srinivas.nettalam
Wed Feb 06, 2013 6:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Get File name in External source stage
Replies: 18
Views: 14721

Would you post the sample value of the filename you are getting from ESS and the derivation in the transformer??
by srinivas.nettalam
Tue Feb 05, 2013 7:05 am
Forum: General
Topic: Datastaje Jobs Deploy between Env
Replies: 4
Views: 1568

Hi Ray,
Don't we need compiler on an environment if we are importing the executables on that environment?
by srinivas.nettalam
Mon Feb 04, 2013 2:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: handling non-english characters that is part of a string
Replies: 4
Views: 6307

Re: handling non-english characters that is part of a string

You can search for Convert or Double Convert to get an idea of resolving similar kind of issues.However I am not aware of the part of your question regarding the non-English characters occupying more than 1 byte.
by srinivas.nettalam
Fri Feb 01, 2013 3:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sum, Count on varchar in Aggregator
Replies: 16
Views: 14316

Re: Sum, Count on varchar in Aggregator

My mistake I mean COUNT on the rows only,but not on a field.
by srinivas.nettalam
Fri Feb 01, 2013 3:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: change current date + different second for each row
Replies: 19
Views: 7187

times29 wrote::shock: any idea what can i do to make it unique
To get unique sequence number across, the formula is

Code: Select all

[@PARTITIONNUM + (@INROWNUM-1)*@NUMPARTITIONS]+1
by srinivas.nettalam
Wed Jan 30, 2013 8:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: change current date + different second for each row
Replies: 19
Views: 7187

Since the job runs in parallel @INROWNUM can have same rownumber on each node.Probably this is the reason.Not sure.
by srinivas.nettalam
Wed Jan 30, 2013 2:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Get File name in External source stage
Replies: 18
Views: 14721

Apparently from ESS stage you are counting the '/' and taking out filename part only and passing to the XML input stage. But the usual way is to use 'ls /path/filename.xml' and pass the absolute path of the filename to the XML input stage.
by srinivas.nettalam
Mon Jan 28, 2013 8:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: duplicate record at lookup
Replies: 3
Views: 6163

qutesanju wrote:thanks I used sort stage with key change column and redirecting rows with keychange as 0 to file.

this way i was able to see duplicate records in separate file
Were you trying to do the lookup with the same data?
by srinivas.nettalam
Thu Jan 24, 2013 9:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Keep MQ job running
Replies: 5
Views: 3354

Hi Ernie,
Can we use a hash file(server job) instead of a sequential file in the target for this scenario to make the job run continuously?
by srinivas.nettalam
Thu Jan 17, 2013 1:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading only file name in Datastage Windows
Replies: 3
Views: 1797

Re: Reading only file name in Datastage Windows

You can count the number of '\' and take the text after the last '\' using string functions.

Code: Select all

For eg : Field(FileNameColumn,'\',Count(FileNameColumn,'\')+1)