Search found 15 matches

by madhav62
Sun Sep 19, 2010 8:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: issues in data transformation decimal to integer
Replies: 5
Views: 2886

VarChar(9) is not big enough - you need at least VarChar(11) - you have nine significant digits, a sign and a decimal placeholder. Where do you expect the third decimal place to come from, given that your source column only has two? Source column has three decimal places. is there any other way to ...
by madhav62
Sat Sep 18, 2010 11:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: issues in data transformation decimal to integer
Replies: 5
Views: 2886

Re: issues in data transformation decimal to integer

divesh wrote:Looks like your target field datatype is double/dfloat after the transformation.
Can you try making it Integer 10
Its actually varchar(9)
by madhav62
Fri Sep 17, 2010 12:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: issues in data transformation decimal to integer
Replies: 5
Views: 2886

issues in data transformation decimal to integer

Hi, I am doing transformation on decimal value to feed into flatfile incoming data has field which is decimal(with two decimal places) i need to convert it into integer in COBOL format 9(6)v9(3) i am using derivation right("0000000000":(column.value*1000),9) it works fine with some value e...
by madhav62
Fri Sep 10, 2010 10:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: rearrange columns in csv file
Replies: 8
Views: 4679

BMSK wrote:First read the file as its comes through sequential stage, Then put copy stage and arrange colum as you needed... :wink:


BMSK
can u elaborate the approach
by madhav62
Fri Sep 10, 2010 10:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: rearrange columns in csv file
Replies: 8
Views: 4679

any one has any idea
by madhav62
Fri Sep 10, 2010 8:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: rearrange columns in csv file
Replies: 8
Views: 4679

If it's always the same six fields the first thing I'd be doing is getting the provider of the file to be consistent. If you can't do that, you need to determine which column is which. If there are column headings this ought to be easy. In a Transformer stage you could use RCP to direct the correct...
by madhav62
Fri Sep 10, 2010 8:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: rearrange columns in csv file
Replies: 8
Views: 4679

If it's always the same six fields the first thing I'd be doing is getting the provider of the file to be consistent. If you can't do that, you need to determine which column is which. If there are column headings this ought to be easy. In a Transformer stage you could use RCP to direct the correct...
by madhav62
Thu Sep 09, 2010 8:01 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: rearrange columns in csv file
Replies: 8
Views: 4679

rearrange columns in csv file

HI I have a question i have few csv file in my server and the columns changes very day and file to file. like for example for invoice1.csv columns are: Invoice number, customer_id, Valid_from, Valid_to, extraction_time,user_code,emp_id and second file invoice2.csv columns are: extraction_time,user_c...
by madhav62
Sun Aug 29, 2010 10:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential file stage to read the multiple xml files in one
Replies: 10
Views: 10670

i used same expression mentioned the article and used external source stage instead of sequential file stage it gave me error saying argument list is too long. but i worked it around and now its importing 303 files but only file names not the xml data. when i hit view data its just showing me just t...
by madhav62
Sun Aug 29, 2010 12:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential file stage to read the multiple xml files in one
Replies: 10
Views: 10670

design: sequential stage ---->Xmliput------->dataset table definitions: Data longvarchar 9999 Xml schema definition. sequential file settings: file pattern #FilePath#/META.INVOICEDOC.* error: file not found in directory. and one more thing apart for invoice XML i get one more XML claims. META.CLAIMD...
by madhav62
Sat Aug 28, 2010 11:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential file stage to read the multiple xml files in one
Replies: 10
Views: 10670

Hi Chulett well my concern was that to read the file i need to give the ls command like: ls #filePath#/Meta.Invoice.* because the system generates the filenames automatically. i dont have any problem in reading a single file using sequential or external source stage my concern is how to do it for mu...
by madhav62
Sat Aug 28, 2010 7:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential file stage to read the multiple xml files in one
Replies: 10
Views: 10670

chulett wrote:What "wasn't successful" about your file pattern attempt? Switch to using an External Source stage as detailed here ...
i used ls -l /filelocation/META.INVOICEDOC.* for sequential file.

i tried External source stage but it shows error in args()
by madhav62
Sat Aug 28, 2010 1:00 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential file stage to read the multiple xml files in one
Replies: 10
Views: 10670

Sequential file stage to read the multiple xml files in one

HI, I am Designed an Parallel job using Sequential File to read XML document. But in production it supposed to read Multiple XML document i tried file pattern option but wasn't successful in doing so. work flow is every 6 hours XML document are storied in server location and these ment to be process...
by madhav62
Wed Aug 18, 2010 9:23 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformer Mapping
Replies: 2
Views: 1624

Transformer Mapping

i am working on mapping. I have doubt. source column metadata are: audit_id, condition_type, condition_value target column metadata are: audit_id, audit_type, final_value i am using transformer, if condition_type="un audit" then audit_type= condition_value if condidtion_type="kkk"...