Search found 56 matches

by jaysheel
Wed Dec 12, 2012 7:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem with seperator in timestamp field
Replies: 4
Views: 2956

I need to create a ticket for reporting this to the official support provider. They will be taking this up with IBM. I am doing it right now.
by jaysheel
Wed Dec 12, 2012 7:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem with seperator in timestamp field
Replies: 4
Views: 2956

This was solved by manually validating the delimiters. But this is surely a bug in datastage which IBM needs to handle. An alphabet or a special character cannot be accpted in place of a "/" delimiter which is the part of a datastage function. Solution : If Col[3,1]<>"/" Or Col[6...
by jaysheel
Tue Dec 11, 2012 8:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem with seperator in timestamp field
Replies: 4
Views: 2956

Problem with seperator in timestamp field

Hi, I am running with a problem where I am reading a flat file with Seq file stage. I have a timestamp field with value 11/30/2012.22.05 without seconds values. I have set the format string in the column definition as "%mm/%dd/%yyyy.%hh.%nn" and reading the field as timestamp. The values a...
by jaysheel
Tue Jul 17, 2012 6:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: XML transformation help needed
Replies: 11
Views: 6801

Ernie, What I got was a bit different. I managed to pivot the data and write to XML. But I wanted something like this. <Items ReasonText="20111222102212" ShipNode="5868" YantraMessageGroupID="5868.20111222102212.303919.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema...
by jaysheel
Mon Jul 16, 2012 5:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to read a Seq File
Replies: 4
Views: 2886

In the seq file stage what datatype you have given for the date columns. The date columns are not in proper format. Change those column types as Varchar and try reading it.
by jaysheel
Mon Jul 16, 2012 12:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: XML transformation help needed
Replies: 11
Views: 6801

Ravi, I tried the pivoting option. But could not understand the repetitive element option you told. So my output is coming as below. Need to tune this now. <Items ReasonText="20111222102212" ShipNode="5868" YantraMessageGroupID="5868.20111222102212.303919.1" xmlns:xsi=&...
by jaysheel
Mon Jul 16, 2012 12:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: XML transformation help needed
Replies: 11
Views: 6801

Thanks Ravi for your response. But I did not understand your solution. Let me explain my understanding here. You want me to define Supply type 1 to 5 in Transformer with values as ATS,EIP,OIP,RIP and TROUBLE in transformer. Here my questions is regarding the next sentence "For respective Quanti...
by jaysheel
Fri Jul 13, 2012 12:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: XML transformation help needed
Replies: 11
Views: 6801

Craig, The I am not provided with the XSD. The original format yielded me the below XPATH expression for the columns. Items/Item/Supplies/Supply/@ATS Items/Item/Supplies/Supply/@EIP Items/Item/Supplies/Supply/@OIP Items/Item/Supplies/Supply/@RIP Items/Item/Supplies/Supply/@TROUBLE Thr original forma...
by jaysheel
Thu Jul 12, 2012 6:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: XML transformation help needed
Replies: 11
Views: 6801

Craig,

I dont have an XPATH written yet. I am creating the XPATH from the sample output that I have here. I have to split this single row into multiple rows for the Supply category here.

I guess it will be /Supplies/Supply/@SupplyType
/Supplies/Supply/@Quantity
by jaysheel
Thu Jul 12, 2012 6:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: XML transformation help needed
Replies: 11
Views: 6801

XML transformation help needed

Hi, I have a requirement where I need to convert flat files to XML files. I am able to do it. Problem arrived when the customer changed the XML format. I need to trnaform it now as per the requirement. The input looks like : UPC-NUMBER | WMITEMNUMBER | DESCRIPTION | ATS| TROUBLE| RECEIPT-IN-PROGRESS...
by jaysheel
Fri Jul 06, 2012 1:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Creation of multiple XML files
Replies: 6
Views: 3705

Craig,

I took off the copy after the XML ouput and it worked without any other stage after XML output. I would start a new thread on the validation part again. Thanks for the help !! :)
by jaysheel
Thu Jul 05, 2012 2:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Creation of multiple XML files
Replies: 6
Views: 3705

Craig,

I tried without the %% in the file name and it failed again because of XML validation. I unchecked the box and then it worked. Not sure why it failed for validation. I had imported the metadata by using a sample XML file.

Thanks.
by jaysheel
Wed Jul 04, 2012 9:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Creation of multiple XML files
Replies: 6
Views: 3705

Craig, I tried that. But my job is failing with a warning "Invalid filepath. Cannot use %%%% or %%@@ when the stage has no output link" and also an error "Error occured in call to ORPHCCallActivePluginInitialize()" Thats why I have added the copy stage to get the output tab in th...
by jaysheel
Wed Jul 04, 2012 8:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Creation of multiple XML files
Replies: 6
Views: 3705

Creation of multiple XML files

Hi, I am trying to create multiple XML files from a sequential file using the Trigger column method. My requirement is for every different value of a field an XML file has to be created. My design looks like this. Seq file --> Transformer --> XML output --> Copy Stage Here used the Trigger column op...
by jaysheel
Tue Nov 08, 2011 5:58 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: RCP with column names (No schema file)
Replies: 5
Views: 3824

There are around 250 datasets. I was thinking of some shortcuts to do this :) So thought of going for the RCP. I managed to keep it to one job. I guess I need to get the column names from the schema files then. Thanks Ray.