Search found 72 matches

by prakashdasika
Tue Feb 15, 2011 12:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Validating using Transformer on multiple nodes
Replies: 4
Views: 1773

One more note, i am hash partitioning on 'transactionId' and sorting on 'designation'
by prakashdasika
Mon Feb 14, 2011 11:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Validating using Transformer on multiple nodes
Replies: 4
Views: 1773

Fixed the problem with getting a field named 'transaction Id' which is common across both and doing a hash partition with this field. This filed was there in the input but was not getting propagated before.
by prakashdasika
Mon Feb 14, 2011 4:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Validating using Transformer on multiple nodes
Replies: 4
Views: 1773

Validating using Transformer on multiple nodes

Hi, I am doing some validation using transformer stage. At any point of time i will only have only two records. For example i am comparing gender from first and second record and have to check if they are same. I am using stage variables and doing a link sort on designation (which tells us if it is ...
by prakashdasika
Sun Feb 13, 2011 6:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CSV file issue
Replies: 4
Views: 3395

In the sequential file stage you have to define text fileds enclosed in double/single quotes. As Ray pointed out there is some inconsistency in the data you provided. Once defined properly the ',' inside the quotes will not be an issue.

PD
by prakashdasika
Mon Feb 07, 2011 10:01 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Question regarding job design
Replies: 0
Views: 849

Question regarding job design

Hi, I am creating a job to read and write xml through webservice and i need some suggestions regarding its design. 1. I recive a request from a web service with two records 'Primary' and 'Secondary' in XML format. 2. The Primary and Secondary have similar XML structure and same metadata, but there a...
by prakashdasika
Thu Jan 20, 2011 6:01 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: XML InputStage Write Issue
Replies: 11
Views: 5526

you have to read the element 'customer' in the output and define it as the key along with the text fields from the element. It has worked for me. The input as you mentioned should be a 'FilePath' and read as single column.

Remember to give Xpath expressions correctly.
by prakashdasika
Tue Jan 18, 2011 6:14 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem reading XML file with multiple repaeating elements
Replies: 6
Views: 5480

I resolved it by calling 'telexList' as input in step 5 and having output as ' telex' (also the key) element and other text fileds inside the telex element as text extracts.
by prakashdasika
Fri Jan 14, 2011 12:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem reading XML file with multiple repaeating elements
Replies: 6
Views: 5480

Problem reading XML file with multiple repaeating elements

Hi, I am working on an real-time (Online) job where i will recieve a XML file with some simple and some repeating elements. When the repeating elements are to be extracted using XML inputs i am not finding any output from this stage. For example here is my sample XML file: <Message xmlns:xsi="h...
by prakashdasika
Sun Dec 19, 2010 7:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Capturing datastage job logs in to a database for real-time
Replies: 1
Views: 1591

Capturing datastage job logs in to a database for real-time

Hi, I am devoloping a job that is run relaltime using Information service director which calls a datasatge job and has XML as input and output. In the job there is validation done on to the information i get through the XML stages, and i have to capture all the exceptions for the data validations in...
by prakashdasika
Mon Nov 15, 2010 9:23 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Read very high volume sorted sequential file
Replies: 5
Views: 2444

The partioning done on the input link of copy stage sorts the data on KEY 1 for each partitioning and i think when you say the data is sorted, I expect the sorted KEY1 data per partition. So affectively the sort order in dataset will be differnt from your source file.
by prakashdasika
Sun Nov 07, 2010 10:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parallel loading with Referential Integrity
Replies: 1
Views: 1815

Join the dataset with the table with which you have the referential integrity and drop/reject the records and send only the ones that satisfy the constraints. You can use three stages: 1. Join - You can do a inner join and drop the records or do a left outer join and capture the records in the Trans...
by prakashdasika
Sun Nov 07, 2010 10:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Input buffer overrun
Replies: 6
Views: 4519

What you are doing is rght, define the last field as varchar and put the null value as ''. Also do not forget to define the record delimiter (Unix/Dos format) and final delimiter in the format.
by prakashdasika
Sun Nov 07, 2010 8:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: XML extract failing during validation
Replies: 2
Views: 1043

XML extract failing during validation

Hi, As part of my prjoect i was to extract jobs from a dimensional model (oracle) and extract it as XML. Recently one of the jobs failed because a descriptive field encountered a substitute character. In the ASCII and Unicode character sets, this character is encoded by the number 26 (hex 1A). Now t...
by prakashdasika
Mon Oct 25, 2010 6:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data wrriting to xml file (using xml output stage)
Replies: 10
Views: 3195

The opening and closing of tags should be defined properly in XML path expressions that we state with each column in the XMLOutput stage. How did you define them?

Are you using a transformer to manually create the tags?
by prakashdasika
Mon Oct 18, 2010 6:30 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Join
Replies: 4
Views: 3422

The transformer shoould be after join and as mentioned earlier in this post the fileds should be non nullable as the outer join substitutes the value it does not find with a null. After the join, in transformer use the NullToValue() function to substitute it as desired and update the fileds to Non-N...