Search found 437 matches
- Thu Mar 09, 2006 3:57 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Doubt in Constraint
- Replies: 11
- Views: 2775
Hi Rasi, I have seen isvalid function .It was given isvalid(%typestring%,%Valuestring%). please correct me if iam wrong isvalid(decimal,7,4).but before inserting in to a table I have to check ex : contract type is decimal (7,4) if it doesnot have decimal(7,4) I have to send to a reject link . How to...
- Thu Mar 09, 2006 3:43 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Decimal to integer
- Replies: 15
- Views: 6428
Decimal to integer
Hi,
Iam using an stagevariabe as integer .ex total (variable)
Total(integer) = Total(integer)+Reclinenumber(decimal). I want this Reclinenumber to convert to integer.How to convert decimal to integer can I take it asinteger function to convert decimal to string. Please help me
Thanks
Somaraju
Iam using an stagevariabe as integer .ex total (variable)
Total(integer) = Total(integer)+Reclinenumber(decimal). I want this Reclinenumber to convert to integer.How to convert decimal to integer can I take it asinteger function to convert decimal to string. Please help me
Thanks
Somaraju
- Thu Mar 09, 2006 2:34 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to achieve date
- Replies: 13
- Views: 6155
Re: Conver to date and use Function
Hi, Thanks for every one. My problem was solved why Iam getting that error is my output is char(8 and when I used rasi steps I got my output as 2006-07-26 but I want as 20060726 so I coded like this to achieve my target DateToString(DateFromDaysSince(-1,StringToDate(Dslink.Validfromdate,"%yyyy%...
- Thu Mar 09, 2006 9:05 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Commit Doubt
- Replies: 2
- Views: 914
Commit Doubt
Hi, Iam having a requirement like this . Iam getting a message and it was parsed by xml and Iam inserting or updating or deleting the records in DB2 API stage . After entire XML message has been processed (i.e either inserted or updated or deleted ) then I need to commit the table. I read in some po...
- Wed Mar 08, 2006 10:48 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Stages doubts
- Replies: 4
- Views: 1385
- Wed Mar 08, 2006 8:02 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to achieve date
- Replies: 13
- Views: 6155
Hi Rasi, I followed the steps you said but Iam getting the same error as I mentioned above post. I think this error is because of the function datefromdayssince.I think it will take only int(32) value or Iam making a mistake in conversion that is (%yyyy%mm%dd). Correct me if Iam wrong DateToString(D...
- Wed Mar 08, 2006 7:37 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Stages doubts
- Replies: 4
- Views: 1385
Hi Rasi, Thanks for your answer. But When Iam connecting a look up to a reject link. Reject link is not allowed unless input reference link failure property is set to reject. Iam having a sequential file connected to transformer and connected to lookup its a stream link and reference link is DB2 /UD...
- Wed Mar 08, 2006 5:54 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Stages doubts
- Replies: 4
- Views: 1385
Stages doubts
Hi, Please help me . I have a requirement like this I have to look to a table DB2 for xxx,yyy,zzz columms with input source file and if it matched then I need to filter by condition (validfromdate from inputfile =or <> validfromdate in db2 table)and I must write records to db2 table. And I need to w...
- Wed Mar 08, 2006 4:03 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to achieve date
- Replies: 13
- Views: 6155
Re: Conver to date and use Function
Hi Rao, Iam getting an error like this when I used your logic APT_CombinedOperatorController,0: Caught exception from runLocally(): APT_ParseError: Parsing parameters "**********" for conversion "date=date_from_days_since[**********](int32)": APT_Conversion_Date_DaysSince: Invali...
- Wed Mar 08, 2006 2:55 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to achieve date
- Replies: 13
- Views: 6155
Hi ray, Thanks for reply. My requirement is I have a date with sql type char '19800412' and I want to minus one from this so I have to get '19800411' with sql type char. When I used DateFromDaysSince function.I getting an error since my requirement is with char sql type I tried like this in transfor...
- Wed Mar 08, 2006 7:55 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to achieve date
- Replies: 13
- Views: 6155
- Tue Mar 07, 2006 9:32 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to achieve date
- Replies: 13
- Views: 6155
How to achieve date
Hi,
I have a requirement like this I want to minus -1 day from the date .
For Ex. If I have date 99991231, I want to have 99991231-1 i.e 99991230.
how to achieve this. please help me
Thanks,
Somaraju
I have a requirement like this I want to minus -1 day from the date .
For Ex. If I have date 99991231, I want to have 99991231-1 i.e 99991230.
how to achieve this. please help me
Thanks,
Somaraju
- Tue Mar 07, 2006 9:18 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Doubt in Constraint
- Replies: 11
- Views: 2775
- Tue Mar 07, 2006 5:55 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Doubt in Constraint
- Replies: 11
- Views: 2775
Doubt in Constraint
Hi, I have an requirement like this. I have a columm in transformer called EconomicDevalution with DEC(7,4).The data is comming to transformer from xml and Iam loading to a DB2 table.I have to check if that Economic Devalution contains DEC(7,4) length. If it doesnot I have to load in a file. When I ...
- Thu Mar 02, 2006 8:41 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: HFC.exe -> need it but don't have the Datastage CD
- Replies: 20
- Views: 8494